> For the complete documentation index, see [llms.txt](https://brightercommand.gitbook.io/paramore-brighter-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brightercommand.gitbook.io/paramore-brighter-documentation/outbox-and-inbox/brighterinboxsupport/dynamoinbox.md).

# Dynamo Inbox

The DynamoDb Inbox allows use of DynamoDb for Brighter's inbox support.

> **Reference** · Applies to **Brighter V10**

## Dynamo Inbox Usage

The DynamoDb Inbox allows use of DynamoDb for [Brighter's inbox support](/paramore-brighter-documentation/outbox-and-inbox/brighterinboxsupport.md). The configuration is described in [Dispatcher Configuration Reference](/paramore-brighter-documentation/brighter-configuration/brighterbasicconfiguration/dispatcherconfigurationreference.md#inbox).

For this we will need the *Inbox* packages for the DynamoDb *Inbox*.

**AWS SDK v3** (legacy support):

* **Paramore.Brighter.Inbox.DynamoDb**

**AWS SDK v4** (recommended for new projects):

* **Paramore.Brighter.Inbox.DynamoDb.V4**

See [AWS SQS Migration](/paramore-brighter-documentation/transports/awssqsconfiguration/awssqsmigratetov10.md#migrating-from-aws-sdk-v3-to-v4) for migration guidance between v3 and v4.

## Dynamo Inbox Options

`DynamoDbInboxConfiguration` names the table and nothing else. Everything about the connection — credentials, region, service URL — belongs to the `AmazonDynamoDBClient` you construct and pass to `DynamoDbInbox`.

| Option      | Type     | Default            | Description                                    |
| ----------- | -------- | ------------------ | ---------------------------------------------- |
| `TableName` | `string` | `"brighter_inbox"` | Names the DynamoDB table that holds the Inbox. |

`tableName` is also a constructor parameter, so `new DynamoDbInboxConfiguration("my_inbox")` and setting the property afterwards are the same thing.

The type also declares `Credentials` and `Region`. **Neither does anything**: the Inbox reads only `TableName`, and in the AWS SDK v3 package the two are get-only and never assigned, so they are always null. The v4 package declares them settable and still reads neither.

```csharp
using Amazon.DynamoDBv2;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Paramore.Brighter;
using Paramore.Brighter.Inbox.DynamoDB;
using Paramore.Brighter.ServiceActivator.Extensions.DependencyInjection;

private static IHostBuilder CreateHostBuilder(string[] args) =>
    Host.CreateDefaultBuilder(args)
        .ConfigureServices(hostContext, services) =>
        {
            ConfigureBrighter(hostContext, services);
        }

private static void ConfigureBrighter(HostBuilderContext hostContext, IServiceCollection services)
{
	var dynamoDb = new AmazonDynamoDBClient(credentials, new AmazonDynamoDBConfig { ServiceURL = "http://dynamodb.us-east-1.amazonaws.com"; });

	services.AddConsumers(opt => 
	{
		opt.InboxConfiguration = new InboxConfiguration(new DynamoDbInbox(dynamoDb, new DynamoDbInboxConfiguration()));
		...
	});
}
...

```


---

# 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 dynamically by asking a question.

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

```
GET https://brightercommand.gitbook.io/paramore-brighter-documentation/outbox-and-inbox/brighterinboxsupport/dynamoinbox.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
