Sanity API Key
To complete the Sanity integration, you’ll need an API key. Follow these steps to create one:
- Go to the API tab in your Sanity project and navigate to Tokens.
- Click Add API Token
- Give your token a descriptive Name
- Select Editor from the Permissions list.
- Click Save
Once the token is generated, copy it and add it to your .env file:
NEXT_PUBLIC_SANITY_API_TOKEN=YOUR_API_KEY
Last updated on