# Access tokens for Shopify

> If you are you getting an error "App does not exist" while you try to integrate Shopify, adding a Shopify Access Token will take care of the issue.&#x20;

If you are facing any issues with the Shopify OAuth flow, please follow the below steps:&#x20;

## **Steps to Generate a New Shopify Access Token:**

1. Log in to your existing [Shopify](https://www.shopify.com/) account. &#x20;
2. **Click on the store** that you want to provide read permissions to Daton.

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2Fp8Ij252igUSnalmMmzNT%2F3.png?alt=media&#x26;token=c9df0c9e-e717-4b2f-9ef0-cb6b1294606d" alt=""><figcaption></figcaption></figure>
3. On the bottom of the dashboard of your selected store, click on the **'Settings'** butto&#x6E;**.**<br>

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2F8gZxlZjzzc43pZ68gkKD%2F4.png?alt=media&#x26;token=822bb3d1-2ce2-4dc6-a62b-a2636117a812" alt=""><figcaption></figcaption></figure>
4. Go to the **'Apps and sales channels'** on the settings page and click the **'Develop apps'** button.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FC9ixdSkdWbeArwvoOR5f%2F5.png?alt=media&#x26;token=f6f74aab-5cac-4f59-84be-d6c6834eadbe" alt=""><figcaption></figcaption></figure>
5. You may now be asked to **'Allow custom app development.'** (If not, proceed to Step 6.)\
   Click on the **'Allow custom app development.'** Now, read the [Shopify API License and Terms of Use](https://www.shopify.com/legal/api-terms) on the redirected page and click on the **'Allow custom app development'** button again.<br>

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FvRmnsoVP0WMkmtqOiuOt%2F6.png?alt=media&#x26;token=d97a3e84-04d9-4043-9878-1e11531dac25" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FT0Jv9dNeTcde1LXAbIAd%2F7.png?alt=media&#x26;token=de86918d-5cf9-4757-b243-2da85a35f3bb" alt=""><figcaption></figcaption></figure>
6. Click on **'Create an app'** on the redirected page.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2Fd336YHpprGyzs4bvjCTM%2F8.png?alt=media&#x26;token=6bd40a3f-13c4-478d-a968-7a17d896d1ef" alt=""><figcaption></figcaption></figure>
7. Enter an app name and then click on **'Create app.'**&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FUJBJGqZfZWOGMApprsHM%2F9.png?alt=media&#x26;token=358840b6-d14a-40d0-aa2a-e687c430146e" alt=""><figcaption></figcaption></figure>
8. You will be directed to the **App development page.** \
   Here, select the '**Configuration'** tab and click on the **'Configure'** button in the **'Admin API Integration'** section.

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FZ5LOSDtCDIpmqEVncQ03%2F10.png?alt=media&#x26;token=a975e4de-2791-40fd-ad70-aebefd633006" alt=""><figcaption></figcaption></figure>
9. You'll be redirected to the **Admin API Integration page.** \
   Here, check the **read** permissions you want to provide to Daton, based on the tables you might be using, and click on the **'save'** button. \
   \&#xNAN;*Please note that, this is an obligatory step.*

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2F1MR3pF81oKlaxVAgKNol%2F11.png?alt=media&#x26;token=617f81d4-ede8-4957-9900-8ac74d35313e" alt=""><figcaption></figcaption></figure>
10. Go to the **'API credentials'** tab, click on the **'Install app'** button, and click **'install'** in the pop-up.&#x20;

    <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2F4fIR0pl4C8BKclbnC9MC%2F12.png?alt=media&#x26;token=c15a1fea-1100-4d5f-b5bc-efbbe4631186" alt=""><figcaption></figcaption></figure>

    <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FAPgRNvBZBrRZoEhNj0xY%2F13.png?alt=media&#x26;token=79832dbd-1b8e-4805-bd9e-bbd16314a7cf" alt=""><figcaption></figcaption></figure>
11. Here you will be able to see the **Admin API access token.**\
    Click the **"reveal token once"** button, the revealed content is your access token. You may use this token while creating the integration in Daton.&#x20;

    <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FeFT058gcrQ1WitdQ488z%2F14.png?alt=media&#x26;token=b58b1693-b288-41b2-a5cd-ee0bd74c56dd" alt=""><figcaption></figcaption></figure>

> ***Tip:** Save the token somewhere else because you can see the full token only once.*

> ***Note:***
>
> * Do not add this token page in the navigation side bar.&#x20;
> * Do not use token or create token in the link text.
