> ## 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.

# Auth

> Let users connect their external accounts to your app or agent

Nango gives you one interface for API authorization and handles each provider's quirks.

* **1,400+ APIs** — From OAuth 2.0 and API keys to custom auth
* **Add APIs on demand** — Ask Nango to add any API in \<48h, or [contribute it yourself](https://nango.dev/docs/integrations/contribute-or-request-api.md)
* **Nango-managed OAuth apps** — Use our pre-approved OAuth apps, or bring your own
* **Pre-built UI with your branding** — Provider-specific forms, end-user guides to find API keys, and built-in validation
* **Secure credential management** — Encrypted at rest and in transit, refreshes OAuth tokens automatically, and is SOC 2 Type II certified
* **Broken credentials detection** — Get notified by Nango and easily let users reconnect

## Add auth to your app or agent

| Where | How it works | Setup instructions |
| - | - | - |
| **From your AI agent** | The agent asks the user to authorize an integration when it needs access. | [Set up auth from your AI agent](https://nango.dev/docs/guides/auth/setup.md#auth-from-your-ai-agent) |
| **From your app** | A connect button opens Nango's pre-built Connect UI. | [Follow the setup guide](https://nango.dev/docs/guides/auth/setup.md#auth-from-your-app). To create your own UI, see [headless auth](https://nango.dev/docs/guides/auth/customize-connect-ui.md#build-your-own-auth-ui). |
| **From a link you share** | Send a link by email or chat. The user opens Nango's hosted Connect UI to authorize. | [Generate and share a connect link](https://nango.dev/docs/guides/auth/setup.md#auth-from-a-link-you-share) |

## Connections

When a user authorizes an external account, such as their Gmail account, Nango creates a connection for it. Nango securely stores the credentials and automatically refreshes them as needed.

Agent sessions, tools, and syncs use the connection to call the API, and triggers use it to identify which account an event belongs to. If your backend needs to call the API itself, it can [fetch the credentials from Nango](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

Use [connection tags](https://nango.dev/docs/guides/auth/connection-tags-configuration-metadata.md#connection-tags) to associate a connection with a user, organization, team, or department in your app. For shared connections, tag them with the group’s ID and use that tag to scope access.

## Nango-managed OAuth apps

When you set up an OAuth integration, you can register your own app or use a Nango-managed app where available.

Nango-managed OAuth apps are pre-approved and ready for production. Nango registers and maintains them so you can launch faster across multiple APIs without waiting for provider approval for each app.

Here are the tradeoffs between using a Nango-managed app and registering your own.

* **White-label OAuth** — With your own app, you control the branding users see on the consent screen. With a Nango-managed app, users see Nango's branding.
* **Scopes** — Nango-managed apps have fixed scopes. With your own app, you choose which permissions to request from the scopes the provider offers.
* **Callback URL** — Nango-managed apps use Nango's callback URL. Your own app can use a [custom callback URL](https://nango.dev/docs/guides/auth/setup.md#custom-oauth-callback-url-optional) on your domain.
* **Provider webhooks** — Receiving provider webhooks requires your own OAuth app. If you need webhooks with a Nango-managed app, reach out to support.
* **Marketplace listings** — provider marketplaces require your own app.
* **Revocation risk** — if a provider revokes a Nango-managed app, every connection using it stops working.
* **Portability** — only with your own app can you export access and refresh tokens and move off Nango without users re-authorizing.

To make registering your own app easier, Nango maintains step-by-step setup guides for most OAuth APIs in [APIs & Integrations](https://nango.dev/docs/integrations/overview.md), for example [Gmail](https://nango.dev/docs/api-integrations/google-mail/how-to-register-your-own-gmail-api-oauth-app).

We add more OAuth apps every week. If an API you need is missing, please contact us and we will do our best to add it.

> [accordion] List of APIs with a Nango-managed OAuth app (84)
>
> * [Acuity Scheduling](https://nango.dev/docs/integrations/all/acuity-scheduling.md)
> * [Airtable](https://nango.dev/docs/api-integrations/airtable.md)
> * [Asana](https://nango.dev/docs/api-integrations/asana.md)
> * [Basecamp](https://nango.dev/docs/integrations/all/basecamp.md)
> * [Bitbucket](https://nango.dev/docs/integrations/all/bitbucket.md)
> * [BoldSign](https://nango.dev/docs/integrations/all/boldsign.md)
> * [Box](https://nango.dev/docs/api-integrations/box.md)
> * [Cal.com (OAuth)](https://nango.dev/docs/api-integrations/cal-com-oauth.md)
> * [Calendly](https://nango.dev/docs/api-integrations/calendly.md)
> * [ClickUp](https://nango.dev/docs/api-integrations/clickup.md)
> * [Close](https://nango.dev/docs/integrations/all/close.md)
> * [Confluence](https://nango.dev/docs/api-integrations/confluence.md)
> * [Contentful](https://nango.dev/docs/integrations/all/contentful.md)
> * [Discord](https://nango.dev/docs/api-integrations/discord.md)
> * [Eventbrite](https://nango.dev/docs/integrations/all/eventbrite.md)
> * [Exist](https://nango.dev/docs/integrations/all/exist.md)
> * [Facebook](https://nango.dev/docs/api-integrations/facebook.md)
> * [GitHub (App)](https://nango.dev/docs/api-integrations/github-app.md)
> * [GitHub (User OAuth)](https://nango.dev/docs/api-integrations/github.md)
> * [GitLab](https://nango.dev/docs/integrations/all/gitlab.md)
> * [Gmail](https://nango.dev/docs/api-integrations/google-mail.md)
> * [Google Ads](https://nango.dev/docs/api-integrations/google-ads.md)
> * [Google Calendar](https://nango.dev/docs/api-integrations/google-calendar.md)
> * [Google Drive](https://nango.dev/docs/api-integrations/google-drive.md)
> * [Google Sheets](https://nango.dev/docs/api-integrations/google-sheet.md)
> * [Google Tasks](https://nango.dev/docs/api-integrations/google-tasks.md)
> * [Gumroad](https://nango.dev/docs/integrations/all/gumroad.md)
> * [HubSpot](https://nango.dev/docs/api-integrations/hubspot.md)
> * [Hubstaff](https://nango.dev/docs/api-integrations/hubstaff.md)
> * [Intercom](https://nango.dev/docs/api-integrations/intercom.md)
> * [Jira (OAuth)](https://nango.dev/docs/api-integrations/jira.md)
> * [Judge.me (OAuth)](https://nango.dev/docs/api-integrations/judgeme-oauth.md)
> * [Linear](https://nango.dev/docs/api-integrations/linear.md)
> * [LinkHut](https://nango.dev/docs/integrations/all/linkhut.md)
> * [Mailchimp](https://nango.dev/docs/integrations/all/mailchimp.md)
> * [Microsoft](https://nango.dev/docs/api-integrations/microsoft.md)
> * [Microsoft Entra ID](https://nango.dev/docs/integrations/all/microsoft-entra-id.md)
> * [Microsoft Excel](https://nango.dev/docs/integrations/all/microsoft-excel.md)
> * [Microsoft People](https://nango.dev/docs/api-integrations/microsoft-people.md)
> * [Microsoft Power BI](https://nango.dev/docs/integrations/all/microsoft-power-bi.md)
> * [Microsoft PowerPoint](https://nango.dev/docs/api-integrations/microsoft-powerpoint.md)
> * [Microsoft Teams](https://nango.dev/docs/api-integrations/microsoft-teams.md)
> * [Microsoft Word](https://nango.dev/docs/api-integrations/microsoft-word.md)
> * [Miro](https://nango.dev/docs/integrations/all/miro.md)
> * [Monday](https://nango.dev/docs/api-integrations/monday.md)
> * [Moneybird](https://nango.dev/docs/api-integrations/moneybird.md)
> * [Mural](https://nango.dev/docs/integrations/all/mural.md)
> * [Notion](https://nango.dev/docs/api-integrations/notion.md)
> * [OneDrive for Business](https://nango.dev/docs/api-integrations/one-drive.md)
> * [OneDrive Personal](https://nango.dev/docs/integrations/all/one-drive-personal.md)
> * [OneNote](https://nango.dev/docs/integrations/all/one-note.md)
> * [Outline](https://nango.dev/docs/api-integrations/outline.md)
> * [Outlook](https://nango.dev/docs/api-integrations/outlook.md)
> * [Pinterest](https://nango.dev/docs/integrations/all/pinterest.md)
> * [Pipedrive](https://nango.dev/docs/api-integrations/pipedrive.md)
> * [Quickbooks](https://nango.dev/docs/api-integrations/quickbooks.md)
> * [Quickbooks (Sandbox)](https://nango.dev/docs/api-integrations/quickbooks-sandbox.md)
> * [Salesforce](https://nango.dev/docs/api-integrations/salesforce.md)
> * [SharePoint Online (v2)](https://nango.dev/docs/api-integrations/sharepoint-online.md)
> * [Slack](https://nango.dev/docs/api-integrations/slack.md)
> * [Smartsheet](https://nango.dev/docs/api-integrations/smartsheet.md)
> * [Splitwise](https://nango.dev/docs/integrations/all/splitwise.md)
> * [Stack Exchange](https://nango.dev/docs/integrations/all/stackexchange.md)
> * [Strava (Web)](https://nango.dev/docs/integrations/all/strava-web.md)
> * [TickTick](https://nango.dev/docs/integrations/all/ticktick.md)
> * [Timely](https://nango.dev/docs/integrations/all/timely.md)
> * [Todoist](https://nango.dev/docs/integrations/all/todoist.md)
> * [Twitch](https://nango.dev/docs/integrations/all/twitch.md)
> * [Typeform](https://nango.dev/docs/api-integrations/typeform.md)
> * [Wakatime](https://nango.dev/docs/integrations/all/wakatime.md)
> * [Webex](https://nango.dev/docs/integrations/all/webex.md)
> * [Wrike](https://nango.dev/docs/integrations/all/wrike.md)
> * [YouTube](https://nango.dev/docs/api-integrations/youtube.md)
> * [Zendesk](https://nango.dev/docs/api-integrations/zendesk.md)
> * [Zoho](https://nango.dev/docs/integrations/all/zoho.md)
> * [Zoho Bigin](https://nango.dev/docs/integrations/all/zoho-bigin.md)
> * [Zoho Books](https://nango.dev/docs/integrations/all/zoho-books.md)
> * [Zoho Calendar](https://nango.dev/docs/integrations/all/zoho-calendar.md)
> * [Zoho CRM](https://nango.dev/docs/api-integrations/zoho-crm.md)
> * [Zoho Desk](https://nango.dev/docs/integrations/all/zoho-desk.md)
> * [Zoho Inventory](https://nango.dev/docs/integrations/all/zoho-inventory.md)
> * [Zoho Invoice](https://nango.dev/docs/integrations/all/zoho-invoice.md)
> * [Zoho Mail](https://nango.dev/docs/integrations/all/zoho-mail.md)
> * [Zoho People](https://nango.dev/docs/integrations/all/zoho-people.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.