# Create an Amazon Kinesis Data Stream

Create a data stream to start the flow of data from your Amazon Kinesis source to Data 360.

Complete these prerequisites.

- Make sure the Amazon Kinesis connection is set up. For more information, see [Set Up an Amazon Kinesis Connection](/docs/data/data-cloud-int/guide/c360-a-set-up-awskinesisds-connection.md).
- Review the [IP addresses](https://help.salesforce.com/s/articleView?id=data.c360\_a_data_cloud_ip_address_allowlist.htm\&type=5) to make sure the Amazon Kinesis connection has the necessary access.

1. In Data Cloud, on the **Data Streams** tab, click **New**.

   You can also use App Launcher to find and select **Data Streams**.

2. Under Other Sources, select the Amazon Kinesis connection source, and click **Next**.

3. Select from the available Amazon Kinesis connections.

4. Select the object that you want to import, and click **Next**.

   You can select one new object on the Available Objects tab.

5. Under Object Details, for Category, identify the type of data in the data stream.

6. For Primary Key, select a unique field to identify a record.

   If a primary key isn’t listed in the dropdown, you must create one using a formula field.

   1. To create a formula field, click **New Formula Field**.

   2. For Field Label, enter the data stream field’s display name.

   3. For Field API Name, enter the data stream field’s programmatic reference.

   4. For Formula Return Type, select **Text**.

   5. In the Transformation Formula text box, enter a UUID() formula.

   6. To validate the formula, click **Text**.

   7. Click **Save**.

   8. For Primary Key, select the UUID that you created.

7. (Optional) Select a record modified field.

   If data is received out of order, the record modified field provides a reference point to determine whether to update the record. The record with the most up-to-date timestamp is loaded.

8. (Optional) For Organization Unit Identifier, select a business unit to use in a record’s data lineage.

9. Click **Next**.

10. For Data Space, if the default data space isn’t selected, assign the data stream to the appropriate data space.

11. Click **Deploy**.

When the Last Run Status is successful, you can see how many records were processed and the total number of records that were loaded.

You can now map your data lake object to the semantic data model to use the data in segments, calculated insights, and other use cases.

## See Also

- [Salesforce Help: Data Stream Settings and Refresh Modes](https://help.salesforce.com/s/articleView?id=data.c360\_a_data_stream_edit_settings.htm\&type=5)
