Skip to main content
For a new app on your own store, create and install it in Shopify’s Dev Dashboard, request an access token with the client credentials grant, and export the returned token as SHOPIFY_ACCESS_TOKEN. The Shopify Admin path in the example applies only to existing admin-created custom apps.
shopify_demo.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run PgVector

5

Run the example

Save the code above as shopify_demo.py, then run:
Full source: cookbook/05_agent_os/integrations/shopify_demo.py