> For the complete documentation index, see [llms.txt](https://docs.uibakery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uibakery.io/reference/data-sources/dynamodb.md).

# 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&amp;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](/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="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&amp;token=ddc6bf2b-6341-48da-a9aa-29cf8e95851d" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
