Documentation Index
Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Pre-requisites:
- complete the Set up an integration section of the Auth guide
- generate a Connect session token
Customize the pre-built Connect UI
You can customize the Connect UI theme from the Nango dashboard:- Open Environment Settings.
- Go to the Connect UI tab.
- Choose the theme: light, dark, or system.
- Set the primary color for the light theme.
- Set the primary color for the dark theme.
- Optionally remove the Secured by Nango mention.
nango.openConnectUI().
Connect UI branding customization is available on the Growth plan.
Override documentation links
By default, the Connect UI displays info icons that link to the Nango documentation. If you are embedding Connect UI in a customer-facing application and want these links to point to your own documentation instead, 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, for example jira or slack, and set docs_connect to the URL you want the info icons to link to.
Build your own auth UI
Headless auth means you build the user-facing setup UI yourself and use the frontend SDK to pass the required values to Nango. Headless auth still uses Nango for the backend parts of auth: Nango stores credentials, refreshes OAuth tokens, manages connection records, sends auth webhooks, and lets you call APIs through the proxy or from functions. What changes is the setup experience your user sees before the connection is created.What changes with headless auth
For OAuth APIs, callingnango.auth() opens the external API’s login popup directly. Your user skips the Nango pre-authorization screen. This is useful when you want a shorter flow, but it also means you must collect any provider-specific inputs that the Nango Connect UI would normally ask for first.
For API key, Basic Auth, and other non-OAuth flows, there is no external login popup. You must build the form that collects the user’s credentials, validate field formats in your own UI, and pass the credentials to nango.auth(). Nango can still reject invalid credentials when the integration supports credential checks, but your UI owns the input fields, error messages, and setup guidance.
Some APIs also require connection configuration in addition to credentials. For example, an API might need a subdomain, domain, tenant ID, region, or account-specific base URL to build the authorization URL or make future API requests. Connect UI collects these fields automatically. With headless auth, your UI must collect them and pass them programmatically.
See Connection tags, configuration, and metadata for the difference between connection configuration, metadata, and tags.
Use the frontend SDK for headless auth
In your frontend, initiate Nango (reference):nango.auth() (reference):
- OAuth
- API key
- Basic Auth
For OAuth,
nango.auth() opens the external API’s login popup directly.Pass connection configuration
Some APIs require connection-specific configuration to authorize or make API requests later. Zendesk is a common example: the OAuth authorization URL includes the user’s Zendesk subdomain:https://<USER-SUBDOMAIN>.zendesk.com/oauth/authorizations/new
With Connect UI, Nango asks for this value in an automatically generated form. With headless auth, collect it in your own UI and pass it as params:
- Node SDK
- REST API
nango.auth():
Next
Once authorization succeeds, save the connection ID.Related guides
- Auth guide - compare the managed Connect UI flow.
- Frontend SDK reference - headless authorization methods and parameters.
- Connection tags, configuration, and metadata - understand connection-level storage.