# Connections

## [](#_overview)Overview

To interact with a TypeDB database, a client application must first establish a connection to the server. This is typically done using a [TypeDB driver](../../drivers/index.md) for your chosen programming language (e.g., Python, Java, Rust, Node.js) or through a tool like the TypeDB Console or TypeDB Studio.

A connection requires the server’s address (host and port) and valid user credentials. For production environments, a secure connection using TLS is strongly recommended.

## [](#_connecting_to_typedb)Connecting to TypeDB

*   Studio
    
*   Console
    

For a cloud deployment:

1.  In the [TypeDB Cloud website](https://cloud.typedb.com), navigate to your cluster and click **Connect**. Then, click **Connect with TypeDB Studio**. This will launch TypeDB Studio.
    
2.  Fill in your password and hit **Connect**. Your password can be found in your downloaded credentials file (if you have one).
    

For an Enterprise or Community Edition deployment:

1.  Launch TypeDB Studio.
    
2.  Enter the address of the HTTP endpoint of your cluster. By default, this is at port 8000.
    
3.  Enter your username and password.
    
4.  Click `Connect`.
    

Run Console in CLI:

Connect to TypeDB

```console
typedb console --address=<server-address> --username=<username>
```

You will be prompted for a password.

### [](#_connecting_your_application)Connecting your application

For programmatic access using gRPC, use one of the TypeDB [driver to connect](../../drivers/connections/index.md) via the network API.

All TypeDB Drivers follow the same API as closely as possible, so moving between languages is simple.

Some languages also have a helper driver library that abstracts away usage of the HTTP API. See the references pages for [gRPC drivers](../../../reference/typedb-grpc-drivers/index.md) or the [HTTP helper libraries](../../../reference/typedb-http-drivers/index.md). You can also always use the [raw HTTP api](../../../reference/typedb-http-api/index.md).

[Overview](../overview/index.md) [Databases](../databases/index.md)

[Edit on GitHub](https://github.com/typedb/typedb-docs/edit/3.x-development/core-concepts/modules/ROOT/pages/typedb/connections.adoc) Edit this page on GitHub.