# AWS DynamoDB

Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database. UI Bakery allows you to easily connect to DynamoDB with no need for additional layers like APIs or third-party services.

## Configuration

### Prerequisites

To connect your DynamoDB to UI Bakery, start with creating a `uibakery_dynamodb` user in [IAM](https://console.aws.amazon.com/iam/home):

* Enable **programmatic access.**
* You can grant full DynamoDB permissions or add the restrictions if required.
* Create a new policy and attach it to the new user.

### Connecting the data source

Once you've created the user with all the necessary permissions, you can proceed to connecting your AWS DynamoDB data source to UI Bakery.

1. On the **Data sources** page, click **Connect**, and select _AWS_ _DynamoDB_ in the Data sources list.
2. Specify all the required credentials.
3. Click **Test connection** to check whether the data source can be connected, and then click **Connect Datasource** to complete the setup.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FXI0a0lHL4VWZQXIpPuLY%2FCleanShot%202025-04-09%20at%2011.12.20%402x-min.png?alt=media&#x26;token=52d0af04-6ba7-4310-b0b8-a0d27bf90413" alt=""><figcaption></figcaption></figure>

## Usage

Once you've connected your data source, you can start writing queries to DynamoDB. For this purpose, you need to select the [DynamoDB Request](../working-with-actions/dynamodb-request) action step, select one of the predefined DynamoDB commands, and start constructing your queries in JS mode.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FoI99TPdCYMvAe572Ikby%2FCleanShot%202025-04-09%20at%2011.20.09%402x-min.png?alt=media&#x26;token=ddc6bf2b-6341-48da-a9aa-29cf8e95851d" alt=""><figcaption></figcaption></figure>
