Skip to Content
We are live but in Staging 🎉

Prerequisites

  • Python 3.10+
  • A DODIL Service Account (ID + Secret)
  • Your VBase endpoint details (host, db name)

Install the SDK:

pip install dodil

Connect to VBase

Create a Client, then connect to VBase using VBaseConfig.

from dodil import Client from dodil.vbase import VBaseConfig # Authenticate using a Service Account c = Client( service_account_id="...", service_account_secret="...", ) vbase = c.vbase.connect( VBaseConfig( host="vbase-db-<id>.infra.dodil.cloud", port=443, scheme="https", db_name="db_<id>", ) ) print(vbase.list_collections())

If the connection succeeds, you should get a list of collection names (often empty in a new database).

Last updated on