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

# Ashby

> Access the Ashby 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* -> *Ashby*.
>
> **2. Authorize Ashby**
>
> Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Ashby API key. Later, you'll let your users do the same directly from your app.
>
> **3. Call the Ashby API**
>
> Let's make your first request to the Ashby API (fetch a list of all candidates in an organization). Replace the placeholders below 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 -X POST "https://api.nango.dev/proxy/candidate.list" \
> >   -H "Authorization: Bearer <NANGO-API-KEY>" \
> >   -H "Provider-Config-Key: <INTEGRATION-ID>" \
> >   -H "Connection-Id: <CONNECTION-ID>" \
> >   -H "Accept: application/json" \
> >   -H "Content-Type: application/json" \
> >   -d '{"limit": 10}'
> > ```
>
> > [tab] Node
> >
> > Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
> >
> > ```typescript theme={null}
> > import { Nango } from '@nangohq/node';
> >
> > const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
> >
> > // Lists all candidates in an organization.
> > const res = await nango.post({
> >   endpoint: '/candidate.list',
> >   providerConfigKey: '<INTEGRATION-ID>',
> >   connectionId: '<CONNECTION-ID>',
> >   data: {
> >     limit: 10
> >   }
> > });
> >
> > console.log(res.data);
> > ```
>
> Or fetch credentials dynamically via the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).
>
> ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
>
> > [!TIP]
> >
> > Next step: [Embed the auth flow](https://nango.dev/docs/guides/primitives/auth.md) in your app to let your users connect their Ashby accounts.

> [tab] 🔗 Useful links
>
> | Topic | Links |
> | - | - |
> | Authorization | [Guide to connect to Ashby using Connect UI](https://nango.dev/docs/integrations/all/ashby/connect) |
> | General | [Ashby Website](https://ashbyhq.com/) |
> | | [Ashby Dashboard](https://app.ashbyhq.com/) |
> | Developer | [How to generate an API key](https://ashbyhq.notion.site/How-do-I-generate-an-API-key-58d3409382014a3d80c3b08e982644d7#b3aba2a4d3694e12a2addee1c63d7d4d) |
> | | [Ashby API docs](https://developers.ashbyhq.com/reference/introduction) |
> | | [API Authentication](https://developers.ashbyhq.com/reference/authentication) |
> | | [API Key Endpoint Permissions](https://developers.ashbyhq.com/reference/authentication#api-key-endpoint-permissions) |
>
> > [!NOTE]
> >
> > Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/ashby.mdx)

> [tab] 🚨 API gotchas
>
> * Ashby gives you only an `API Key` but uses Basic auth for the API. Pass the `API Key` as the username to Nango and leave the password blank.
>
> * The `apiKey.info` scope is required for the api key to pass verification.
>
> > [!NOTE]
> >
> > Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/ashby.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.