docsGuidesStarting from scratch

Starting from scratch

Start a new PromptQL project

ddn supergraph init my-assistant --with-promptql
cd my-assistant

Initialize the project on Hasura DDN:

ddn project init

Add your API key

echo 'ANTHROPIC_API_KEY=your-anthropic-api-key' >> .env

Start your assistant

ddn run docker-start

From the project directory, run:

Browser support: PromptQL playground is supported on all browsers except Firefox and Safari. Support for these browsers should be available shortly.

ddn console --local

This should open up your browser (or print a browser URL) for opening up your console. It’ll typically be something like: https://console.hasura.io/local?engine=localhost:3280&promptql=localhost:3282.

Say hi!

The console is a client-side web app hosted at console.hasura.io and it connects to your local PromptQL API and data sources. Your data is not sent or saved anywhere else.

Head over to the console and say hi to your AI!

> Hi!