Create an app and obtain the API Access Token
Settings - → Apps and sales channels - → Develop apps
...
Click Create an app
...
Enter an App name and then click Create app
...
Click Configure Admin API scopes to grant access permission, and make sure the following permissions are included.
...
Then Navigate to API credentials to obtain the API access token.
...
Paste the access token to the Shopify store setting in the custom setting.
...