- Node.js >= 16.x
- pnpm >= 8.x
run pnpm install
-
Set the env variable API_KEY
API_KEY is the API key that you obtained after purchasing the API package or membership plan.
To set the API_KEY, you can use the command line.
For Linux and macOS
export API_KEY=xxx
For Windows
set API_KEY=xxx
Alternatively, you can use a .env file to set the API_KEY variable. Here's how:
-
run
cp ./.env.template ./.env
-
Fill in API_KEY in the .env file.
-
run pnpm start