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

# DrChrono

> Access the DrChrono API in 2 minutes 💨

> [tab] 🚀 Quickstart
>
> **1. Create an integration**
>
> In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *DrChrono*. Nango doesn't have a Nango-managed OAuth app for DrChrono yet. You’ll need to set up your own by following these [instructions](#🧑%E2%80%8D💻-oauth-app-setup). After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Nango.
>
> **2. Authorize DrChrono**
>
> Head to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then log in to DrChrono and approve the requested scopes.
>
> **3. Call the DrChrono API**
>
> Make your first proxied request (fetch patients) by replacing the placeholders with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):
>
> > [tab] cURL
> >
> > ```bash theme={null}
> > curl "https://api.nango.dev/proxy/api/patients" \
> >   -H "Authorization: Bearer <NANGO-API-KEY>" \
> >   -H "Provider-Config-Key: <INTEGRATION-ID>" \
> >   -H "Connection-Id: <CONNECTION-ID>"
> > ```
>
> > [tab] Node
> >
> > ```typescript theme={null}
> > import { Nango } from '@nangohq/node';
> >
> > const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
> >
> > const res = await nango.get({
> >     endpoint: '/api/patients',
> >     providerConfigKey: '<INTEGRATION-ID>',
> >     connectionId: '<CONNECTION-ID>'
> > });
> >
> > console.log(JSON.stringify(res.data, null, 2));
> > ```
>
> Retrieve raw credentials later via the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or the [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).
>
> > [!NOTE]
> >
> > DrChrono tokens are short-lived (48 hours). Nango automatically refreshes them using the stored refresh token whenever you call `nango.getConnection()`.
>
> ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to debug requests.
>
> > [!TIP]
> >
> > Ready for production? [Embed the auth flow](https://nango.dev/docs/guides/primitives/auth.md) so your users can connect their DrChrono accounts from within your product.

> [tab] 🧑‍⚕️ OAuth app setup
>
> **1. Create a DrChrono account**
>
> If you don't already have one, sign up for a [DrChrono account](https://app.drchrono.com).
>
> **2. Register a new application**
>
> 1. To create your application, go to the [API management](https://app.drchrono.com/api-management) page.
> 2. Click the **New Application** button.
> 3. Fill in all the required fields.
> 4. For the **Redirect URIs**, add `https://api.nango.dev/oauth/callback`.
>
> After saving, you'll receive your **Client ID** and **Client Secret**. Copy them as you'll need them when configuring your integration in Nango.
>
> **3. Next**
>
> Follow the [*Quickstart*](https://nango.dev/docs/getting-started/quickstart.md).

> [tab] 🔗 Useful links
>
> | Topic | Links |
> | - | - |
> | General | [DrChrono Website](https://www.drchrono.com/) |
> | Developer | [API Management portal](https://app.drchrono.com/api-management/) |
> | | [OAuth reference](https://app.drchrono.com/api-docs-old/v4/tutorial#introduction) |
> | | [API Docs](https://app.drchrono.com/api-docs-old/v4/documentation#introduction) |
> | | [Main API Docs](https://app.drchrono.com/api-docs-old/v4/documentation#main-api) |
> | | [API Rate limiting](https://app.drchrono.com/api-docs-old/v4/documentation#rate-limits) |
>
> > [!NOTE]
> >
> > Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/drchrono.mdx)

> [tab] 🚨 API gotchas
>
> * Find the required scope for each endpoint in its documentation. Alternatively, omit scopes entirely when setting up your integration in Nango to grant all scopes.
>
> > [!NOTE]
> >
> > Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/drchrono.mdx)

> [!NOTE]
>
> Questions? Join us in the [Slack community](https://nango.dev/slack).


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