X
Xata3w ago
Femi

Option apiKey is required

Please can someone tell me why I keep getting Option apiKey is required
No description
1 Reply
ghqpio
ghqpio3w ago
You should setup the api key in your .env params or pass it manually. Pass it manually: https://xata.io/docs/sdk/typescript/overview#manually-passing-the-apikey Pass it using .env params: https://xata.io/docs/getting-started/installation#env
Installation & API keys
How to authenticate against a Xata database
TypeScript SDK for Xata
Use the SDK as a schema-based, schema-less, or an API client
No description

Did you find this page helpful?