# Configuring AWS SQS for Data Export

> Use this guide to configure Amazon Web Services (AWS) Simple Queue Service (SQS) as a destination for UiPath Data Export. AWS SQS supports event-based (JSON) exports for Orchestrator Events and Audit Logs.

Use this guide to configure Amazon Web Services (AWS) Simple Queue Service (SQS) as a destination for UiPath Data Export. AWS SQS supports event-based (JSON) exports for Orchestrator Events and Audit Logs.

## Prerequisites

- An active AWS SQS account.
- An AWS Access Key ID and Secret Access Key with SQS publish permissions.
- A standard SQS queue. FIFO queues are not supported.
- Organization Administrator access in UiPath Test Cloud.

## Security recommendation

To restrict access without exposing your SQS queue to all traffic, configure a static IP allowlist. Create an AWS access policy with a `Deny` rule for all requests that do not originate from the UiPath export IP address using the `aws:SourceIp` condition. For the full list of outbound IP ranges by region, see [Configuring the firewall for Test Cloud](https://docs.uipath.com/test-cloud/automation-cloud/latest/admin-guide/configuring-the-firewall-for-cloud).

![AWS SQS Access policy with ip-based Deny rule](https://dev-assets.cms.uipath.com/assets/images/data-export/SQSAccessPolicy-5a423f57.webp)

## Configuring AWS SQS

1. In UiPath Test Cloud, go to **Admin** and select **Data Export**.
2. Select **+ Add**.
3. Choose the tenant for this export, then select **Next**.
4. Select the data sources to export (for example, **Orchestrator Events** or **Audit Logs**), then select **Next**.
5. Select **AWS SQS** as the destination and enter the following credentials:

   | Field | Description |
   |---|---|
   | **AWS Access Key ID** | The access key identifier for your AWS account. |
   | **AWS Secret Access Key** | The secret key associated with the access key ID. |
   | **AWS SQS Queue URL** | The full URL of your SQS queue. |
   | **AWS SQS Region** | The AWS region where your SQS queue is hosted (for example, `us-east-1`). |

   To verify connectivity before saving, select **Test Connection**. This sends a test event to the queue.

6. Review the configuration, then select **Save**.

**Result:** The new configuration appears in the **Data Export** table. The **Status** column reflects whether data is being delivered successfully.
