Chalk is capable of integrating seamlessly with a variety of data sources. This allows you to query your data directly from Chalk, making it fast and easy to call external APIs, query production databases, and more.

Data sources can be configured through our data source api or through the Chalk dashboard. In this section, we will cover how to configure data sources through the Chalk dashboard.


Adding Data Sources Through the Dashboard

Connections between Chalk and your data sources can be configured in the Chalk dashboard under Integrations > Datasources. The Add a data source button will allow you to select a data source type and configure the connection. A list of supported data sources can be found in the Integrations section.

Once you have selected the data source you would like to integrate with, you will be prompted to fill in the necessary connection information. This may include credentials, host information, and other relevant details.


Example: Adding a Kinesis Data Source

In this example, we will show how to connect Amazon Kinesis to Chalk as a streaming data source. After selecting Kinesis as the data source type, you will be prompted to fill in the necessary connection information as well as information about the workload role that requires permissions to access your data source.

Adding a Kinesis data source

When setting up your data source, you also have the option to test the connection to ensure that everything is configured correctly by selecting the Test Data Source button. This will attempt to connect Chalk to your data source using the provided information and will alert you if there are any issues with the connection. In the case of Kinesis, you will be able to see messages from your stream if the test is successful:

Testing a Kinesis data source connection


Using your Data Source

Once you have added your data source and successfully tested the connection, you can reference it in your resolvers. Integration examples can be found in the Integrations section or the section for your specific data source.