TypeDB 3.0 is live! Get started for free.

TypeDB Enterprise

Preliminaries

Connecting to TypeDB Enterprise requires:

  • A running TypeDB Enterprise cluster.

  • The address and port of each server node.

  • A valid username and password.

  • A valid TLS certificate for in-flight encryption.

Connecting your client

Run Console using the --cloud argument to set the address and port to connect to:

Connect to TypeDB Cloud or TypeDB Enterprise
typedb console --cloud=<server-address> --username=<username> --password --tls-enabled=true
bash

You will be prompted for a password.

The --cloud argument is used to set the TypeDB Cloud server address and port to connect to, for example, https://abcdef-0.cluster.typedb.com:80.

Connecting your application

For programmatic access, use one of the TypeDB drivers via the network API:

let uri = format!("{}:{}", address, port);
let driver = TypeDBDriver::new_cloud(
    &vec![&uri],
    Credentials::new(username, password),
    DriverOptions::new(true, None).unwrap(),
).await;
rust