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

# Anrok

> Access the Anrok API in 2 minutes 💨

<Tabs>
  <Tab title="🚀 Quickstart">
    <Steps>
      <Step title="Create an integration">
        In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Anrok*.
      </Step>

      <Step title="Authorize Anrok">
        Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Anrok API key. Later, you'll let your users do the same directly from your app.
      </Step>

      <Step title="Call the Anrok API">
        Let's make your first request to the Anrok API (fetch all Product ID mappings for a specific integration). Replace the placeholders below with your [secret key](https://app.nango.dev/dev/environment-settings), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

        <Tabs>
          <Tab title="cURL">
            ```bash theme={null}
            curl -X POST "https://api.nango.dev/proxy/v1/seller/integrations/id:{integrationId}/productIdMapping/list" \
              -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
              -H "Provider-Config-Key: <INTEGRATION-ID>" \
              -H "Connection-Id: <CONNECTION-ID>" \
              -H "Content-Type: application/json" \
            ```
          </Tab>

          <Tab title="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({ secretKey: '<NANGO-SECRET-KEY>' });

            // Lists all Product ID mappings for a specific integration.
            const res = await nango.post({
              // https://apidocs.anrok.com/#tag/Product-mappings/operation/productIdMappingsList
              endpoint: '/v1/seller/integrations/id:{integrationId}/productIdMapping/list',
              providerConfigKey: '<INTEGRATION-ID>',
              connectionId: '<CONNECTION-ID>'
            });

            console.log(res.data);
            ```
          </Tab>
        </Tabs>

        Or fetch credentials dynamically via the [Node SDK](/reference/sdks/node#get-a-connection-with-credentials) or [API](/reference/api/connection/get).
      </Step>
    </Steps>

    ✅ 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](/guides/primitives/auth) in your app to let your users connect their Anrok accounts.
    </Tip>
  </Tab>

  <Tab title="🔗 Useful links">
    | Topic         | Links                                                                                      |
    | ------------- | ------------------------------------------------------------------------------------------ |
    | Authorization | [Guide to connect to Anrok using Connect UI](/integrations/all/anrok/connect)              |
    | General       | [Anrok Website](https://www.anrok.com/)                                                    |
    |               | [Anrok Dashboard](https://app.anrok.com/)                                                  |
    | Developer     | [How to generate an Anrok API key](https://apidocs.anrok.com/tutorials/#create-an-api-key) |
    |               | [Anrok API docs](https://apidocs.anrok.com/#section/API-reference)                         |
    |               | [API Authentication](https://apidocs.anrok.com/tutorials/#send-your-first-api-request)     |

    <Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/anrok.mdx)</Note>
  </Tab>

  <Tab title="🚨 API gotchas">
    * The default rate limit for a seller account is 10 requests per second. Monitor your usage to avoid hitting rate limits.

    <Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/anrok.mdx)</Note>
  </Tab>
</Tabs>

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