📚 Documentation • 🖥️ Application • 🏠 Home
- Sign up for an Autoblocks account at https://app.autoblocks.ai
- Grab your Autoblocks ingestion key from https://app.autoblocks.ai/settings/api-keys
- Grab your Autoblocks api key from https://app.autoblocks.ai/settings/api-keys
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named
.envin this folder and include the following environment variables:
OPENAI_API_KEY=<your-openai-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-autoblocks-ingestion-key>
AUTOBLOCKS_API_KEY=<your-autoblocks-api-key>
Go to https://app.autoblocks.ai/prompts and click on Create Prompt.
Create a prompt like this and deploy it.
npm install
Without Prompt SDK:
npm run start
With Prompt SDK:
export AUTOBLOCKS_API_KEY=npm run start-with-prompt-sdk
More info on Prompt SDK can be found here.
After you run the script, you will see a link to view the trace in your console. You can also navigate directly to the explore page to see the trace.

