Skip to content

KDB.AI Cloud Setup

This section details the steps to setup KDB.AI Cloud.

Sign up

Sign up for KDB.AI Cloud here.

Log in to KDB.AI Cloud

To log in:

  1. Click on the link provided in your welcome email.
  2. Enter your username and password as created when you registered.
  3. Click Sign In.

Connect to your database

  1. In the Connection Details tab, go to Endpoint URL and copy the URL using the Copy button.
  2. Paste the endpoint URL into a notepad until you need it in the Connect a KDB.AI session step.

Create an API key

  1. To create an API key, click Add new API Key.
  2. Copy the key code to your clipboard. It's only visible once. Once you close this window, you can't copy the code again.
  3. Paste the API key into a notepad until you need it in the Connect a KDB.AI session step.

    You can generate up to three API keys. If you mislay the API key code, you can delete the existing API key and then generate a new one.

Install KDB.AI client

  1. In a command window, use the following pip command to install the latest version of the KDB.AI client:

    pip install kdbai-client

    KDB.AI supports Python versions >= 3.8

    Ensure curl is installed, for example, `which curl` 

Connect a KDB.AI session

  1. Establish and verify the connection with your KDB.AI session:

    import kdbai_client as kdbai
    session = kdbai.Session(endpoint="", api_key="XXX")

Verify session

  1. Check if your connection has been successful using the list function:


An empty list [] should be returned as you haven't created any tables yet.

Next steps

Go to our Quickstart Guide page to set up your table schema and start inserting data.