TypeDB Enterprise
Connecting to TypeDB Enterprise requires:
-
A running TypeDB Enterprise cluster.
-
The
address
andport
of each server node. -
A valid
username
andpassword
. -
A valid TLS certificate for in-flight encryption.
-
Studio
-
Console
Run Studio and follow instructions below:
-
Click Connect to TypeDB on the right side of the top toolbar.
-
Switch the
Server
field drop-down toTypeDB Cloud
. -
Click Manage Cloud Addresses button.
-
Add address and port for at least one server from your TypeDB Cloud deployment, then close the Address Management window.
-
Fill in the
Username
andPassword
fields with valid user credentials. -
Turn on the
Enable TLS
option and leave theCA Certificate
field empty. For self-hosted deployments, encryption parameters may vary. -
Click
Connect
.
Run Console using the --cloud
argument to set the address and port to connect to:
typedb console --cloud=<server-address> --username=<username> --password --tls-enabled=true
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
.
For programmatic access, use one of the TypeDB drivers via the network API:
-
Rust
-
Python
-
Java
-
Node.js
-
C#
-
C++
-
C
let uri = format!("{}:{}", address, port);
let driver = TypeDBDriver::new_cloud(
&vec![&uri],
Credentials::new(username.as_ref(), password.as_ref()),
DriverOptions::new(true, None).unwrap(),
).await;
uri = f"{address}:{port}"
driver = TypeDB.cloud_driver([uri], Credentials(username, password), DriverOptions(False, None))
uri = String.format("%s:%s", address, port)
Driver driver = TypeDB.cloudDriver(
Set.of(uri),
new Credentials(username, password),
new DriverOptions(true, null)
);
Coming soon!
Coming soon!
Coming soon!
Coming soon!