@@ -5,28 +5,37 @@ title: Connect with Node.js Connector
...
@@ -5,28 +5,37 @@ title: Connect with Node.js Connector
## Install Connector
## Install Connector
```
npm i td2.0-rest-connector
```
## Config
## Config
Run this command in your terminal to save TDengine cloud token as variables:
Run this command in your terminal to save TDengine cloud token as variables:
```bash
```bash
export TDENGINE_CLOUD_TOKEN=<token>
export TDENGINE_CLOUD_TOKEN=<token>
export TDENGINE_CLOUD_URL=<url>
```
```
<!-- exclude -->
:::note
Replace <token\> and <url\> with cloud token and URL.
To obtain the value of cloud token and URL, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Node.js".