Integrating Ancho

Basic integration path

The process of integrating Ancho can be broken down into 3 basic steps:

  1. Add the logic for creating new Ancho users

  2. Choose an SDK

  3. Integrate the SDK into your app

Creating new Ancho users

Once you have an Ancho account, you'll have access to both a Production and a Development API Key. These API Keys can be used to create new users in their respective environments.

Creating new users is as easy as making a POST request to the Ancho API with an Authorization header containing a Bearer value with your API Key.

const response = await fetch('https://api.ancho.io/v1/users', {
  headers: {
    Authorization: `Bearer ${YOUR_ENVIRONMENT_API_KEY}`,
  },
  method: 'POST'
})

const user = await response.json()

Choosing an SDK

Ancho offers SDKs for Web, Android, and iOS to cover a wide variety of client-side implementations.

Integrating the SDKs

To integrate the SDK of your choice into your app, you can follow one of our Quick Start guides.

Last updated