Skip to content

Latest commit

Β 

History

History
82 lines (57 loc) Β· 2.96 KB

File metadata and controls

82 lines (57 loc) Β· 2.96 KB
title Amazon
sidebarTitle Amazon
description Integrate your application with the Amazon API

πŸš€ Quickstart

Connect to Amazon with Nango and see data flow in 2 minutes.

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> _Configure New Integration_ -> _Amazon_. Go to [Connections](https://app.nango.dev/dev/connections) -> _Add Test Connection_ -> _Authorize_, then log in to Amazon. Later, you'll let your users do the same directly from your app. Let's make your first request to the Amazon API. 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):
        ```bash
        curl "https://api.nango.dev/proxy/user/profile" \
          -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>"
        ```

    </Tab>

    <Tab title="Node">

    Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

    ```typescript
    import { Nango } from '@nangohq/node';

    const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });

    const res = await nango.get({
        endpoint: '/user/profile',
        providerConfigKey: '<INTEGRATION-ID>',
        connectionId: '<CONNECTION-ID>'
    });

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


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

βœ… You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
</Step>

<Step title="Implement Nango in your app">
    Follow our [quickstart](/getting-started/quickstart/embed-in-your-app) to integrate Nango in your app.

    To obtain your own production credentials, follow the setup guide linked below.
</Step>

πŸ“š Amazon Integration Guides

Nango maintained guides for common use cases.

Official docs: Amazon API docs

🧩 Pre-built syncs & actions for Amazon

Enable them in your dashboard. Extend and customize to fit your needs.

import PreBuiltUseCases from "/snippets/generated/amazon/PreBuiltUseCases.mdx"