# 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="/files/MruXehbYgc8dhBzbyL2d" 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](/reference/working-with-actions/dynamodb-request.md) action step, select one of the predefined DynamoDB commands, and start constructing your queries in JS mode.

<figure><img src="/files/W6ivEIqkoJWPTFpxLe4C" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uibakery.io/reference/data-sources/dynamodb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
