# Setup tab

In the **Setup** tab, define the connection to the Amazon region, the target stream in the Amazon Kinesis Data Streams (KDS) service, the partition key field, and the message field:

![Kinesis Producer setup tab](https://3411831820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAYwCj9fPr1B2pjC11IOQ%2Fuploads%2Fgit-blob-76a5e4d61078dbdd68f670c1c8039643952d3033%2FPDI_TransStep_Dialog_Kinesis_Producer_width_616.png?alt=media)

| Option                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Region**              | Specify the Amazon geographical region where the stream is located. You can select only one region.                                                                                                                                                                                                                                                                                                                                                       |
| **Stream name**         | <p>Specify the Amazon KDS stream name by selecting one of the following methods:- <strong>Specify stream name</strong></p><p>Specify the <strong>Stream name</strong> to which the data will be published.</p><ul><li><strong>Get data from field</strong></li></ul><p>Specify the <strong>Field name</strong> from another step that is generating data in the transformation stream. Using the drop-down list, select the name of the field to use.</p> |
| **Partition key field** | Select the PDI field that contains the partition key. The partition key is used to group records into shards within the stream.                                                                                                                                                                                                                                                                                                                           |
| **Message field**       | Select the PDI field that contains data to write to the stream.                                                                                                                                                                                                                                                                                                                                                                                           |
