Integrate Data Station

Prev Next

Data Station is a feature that allows you to create custom data sources, such as database tables, and add tokens to control user access. It enables you to store and manage data while also connecting it to your assistants and Code Stations.

This guide aims to answer the questions below:

Add a Data Source in the Data Station

When you start using the Data Station, you should first add a Data Source. A data source is similar to a table in your database. 

To add a data source:

1. Navigate to your company on MindBehind. 

2. On the Company Management page, click the Data Station tab. 

3. You will see all of your data sources listed below, showing their unique ID, name, created date, updated date, and available actions. 

4. To add a new Data Source, click the Add Data Source button. 

5. In the “Create a new Data Source” pop-up, enter a name for your Data Source; it can be the same as your original table name. You can add as many properties as you want. Remember that they should have the same names and types as your original table. After you add your properties, click the Save Schema button. 

  • To change the Data Source name, click the Update icon in the Actions field.  
  • You can update the data source name in the Update Schema Name tab. The Save Name button will become active once you enter a new schema name. 
  • To add new properties, click the Add New Property tab. You can enter a property name and choose the type. To add multiple new properties, click the plus (+) button. You can delete a property if you decide not to add the new property you just entered. Once completed, click the Save Schema button.
  • You can select an existing property and make it an indexed field on the “Add New Index” tab. You have to choose a type of index here: ASC (Ascending), DESC (Descending), or TEXT. After adding the new index, click the Save Index button.
  • You can add a maximum of 3 index properties.
  • You can make the index unique and create a TTL for it.

  • If you want to delete an existing property, click the Delete Schema Property tab. Select the relevant schema from the dropdown list and click the Delete Property button. 
  • To see your Data Source details, click the Schema Details icon in the Actions field. 
  • You can see your Data Source name and the relevant properties listed in this window. 
  • To see the details of your unique property, click the Arrow icon on the right. 
  • To delete your Data Source, click the Delete icon in the Actions field.  

How to add a token to the Data Station

You can use tokens to authorize users to read, write, update, and delete the data stored in your Data Sources. You can add, update, and delete tokens, as well as manage your credentials.

To add a token, follow the steps below:

1. Click the Token Management button in the Data Station. 

2. You will see all your tokens listed in the Token Manager. You can see your Token ID, Token Name, Token Expire Date, Created Date, and Token Actions. 

3. To add a token, click the Add Token button. You can add a maximum of 10 tokens. 

4. You should name your token and enter an IP address that you can use with this token. Choose permissions: Read, Write, Update, and Delete. Add an expiration date and select the data source.

You can add “0.0.0.0” if you don’t have a specific IP address.

  • To see the details of your token, click the Token Details button. 
  • You will see the details of your token in the Token Detail window. To see the token, click the Eye icon. If you want to copy the token to your clipboard, click the Copy icon. 
  • To delete the token, click the Delete icon.