DynamoDB
DynamoDB is a managed non-relational database service provided by Amazon. ToolJet has the capability to connect to DynamoDB for reading and writing data.
Connection
To establish a connection with the DynamoDB data source, you can either click on the + Add new Data source button located on the query panel or navigate to the Data sources page through the ToolJet dashboard.

ToolJet supports connecting to DynamoDB using three methods: IAM Credentials, AWS Instance Credentials, or AWS ARN Role.
When using IAM Credentials, you will need to provide the following information:
- Region
- Access key
- Secret key
It is recommended to create a dedicated IAM user for the database in order to have granular control over ToolJet's access levels.

To connect to DynamoDB using an AWS Instance Credentials, select the option to Use AWS Instance Credentials. This will utilize the IAM role attached to the EC2 instance where ToolJet is running. The WebIdentityToken parameter obtained from a successful login with an identity provider is used to access the metadata service of an ECS container and the EC2 instance.

If you prefer to use an AWS ARN Role, you will need to provide the following details:
- Region
- Role ARN

Querying DynamoDB
To perform queries on DynamoDB, click on the + Add button in the query manager located at the bottom panel of the editor. Select the previously added database as the data source for the query. Choose the desired operation and click on the Run button to run the query.

You can apply transformations to the query results. Refer to our transformations documentation for more information: link