> For the complete documentation index, see [llms.txt](https://docs.plumvoice.com/fuse/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plumvoice.com/fuse/integration/dynamodb/set-up-a-database-in-amazon-dynamodb.md).

# Set up a database in Amazon DynamoDB

This page shows you one way of how to set up an Amazon DynamoDB table. You should customize these steps to your needs accordingly.

## Get {account\_id} and {region} needed for IAM setup

* Log into AWS: <https://console.aws.amazon.com/console/home?nc2=h_ct&src=header-signin>
* Get the {account\_id} and {region} below:

<figure><img src="https://820663326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M40QJ5NXmtM4utV6bD_%2Fuploads%2FoNsp7SGzHMWXKT9q0YDm%2Famazon_dynamodb_get_account_id_region.png?alt=media&amp;token=0c9a3451-d657-420a-8ae4-444f7a1fd840" alt=""><figcaption></figcaption></figure>

## Create the DynamoDB table

* In the AWS console, search for DynamoDB (e.g. <https://us-east-1.console.aws.amazon.com/dynamodbv2/home?region=us-east-1#service>)

<figure><img src="https://820663326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M40QJ5NXmtM4utV6bD_%2Fuploads%2FJCAOh7oXATE5UfbInxWX%2Famazon_dynamodb_search_for.png?alt=media&amp;token=a4beb234-6988-40cb-b8d6-42d1955938ed" alt=""><figcaption></figcaption></figure>

* Create table

<figure><img src="https://820663326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M40QJ5NXmtM4utV6bD_%2Fuploads%2FDMVFf3Kv8SfmN6dfFxNR%2Famazon_dynamodb_create_table.png?alt=media&amp;token=3ceb7917-15da-4f9c-a326-6df2cc17313a" alt=""><figcaption></figcaption></figure>

* Table details and settings. Just set the following fields for now, leave all others to default.
  * **Table name**
  * **Partition key**

<figure><img src="https://820663326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M40QJ5NXmtM4utV6bD_%2Fuploads%2FOjh1yyfh77xJYZoRHUcz%2Famazon_dynamodb_create_table_details.png?alt=media&amp;token=1fe64d9a-0158-4f3c-af80-9d0f13e45b35" alt=""><figcaption></figcaption></figure>

* The table will take a few moments to create and once it does, you'll see the following:

<figure><img src="https://820663326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M40QJ5NXmtM4utV6bD_%2Fuploads%2FZvqvvqsIbO0moj1vC56f%2Famazon_dynamodb_table_creation_success.png?alt=media&amp;token=b3ae7d40-cfc6-479f-98d3-7e8fb5a04a8f" alt=""><figcaption></figcaption></figure>
