Pre-requisites:
- complete the Configure an integration guide
- generate a Connect session token
Integrate the frontend SDK
In your frontend, initiate Nango (reference):- OAuth
- API Key
- Basic Auth
For OAuth, the
nango.auth() method will trigger the OAuth flow in a popup, to let the user log in to their external account.Handle APIs requiring connection-specific configuration for authorization
Some APIs require connection-specific configuration (e.g. Zendesk, Shopify). For example, Zendesk has the following authorization URL, where the subdomain is specific to a user’s Zendesk account:https://<USER-SUBDOMAIN>.zendesk.com/oauth/authorizations/new
When using the Connect UI, this information is collected from the end user with an automatically-generated form.
But when using a custom UI, you must provide this configuration when calling nango.auth() (reference):
nango.auth:
Override documentation links
By default, the Connect UI displays info icons that link to the Nango documentation. If you are embedding Connect in a customer-facing application and want these links to point to your own documentation instead, you can override them per integration using theoverrides parameter when creating a Connect session.
This feature is available on the Growth plan.
- Node SDK
- REST API
See the full SDK reference for all available parameters.
<INTEGRATION-ID> with the unique name of the integration (e.g. jira, slack) and set docs_connect to the URL you want the info icons to link to.