Run this command in your terminal to save your url and token as variables:
Run this command in your terminal to save TDengine cloud token as variables:
```bash
```bash
export TDENGINE_CLOUD_URL=<url>
export TDENGINE_TOKEN=<token>
export TDENGINE_CLOUD_TOKEN=<token>
```
```
<!-- exclude -->
:::note
You should replace above placeholders as real values. To obtain these values, please log in TDengine Cloud and switch to "Connector" section.
:::
<!-- exclude-end -->
## Connect
## Connect
Code bellow get URL and token from environment variables first and then create a `RestfulConnection` object, witch is a standard JDBC Connection object.