# Create the SQS queue

1. Navigate to SQS in the AWS console

![](/files/l9GMGqEmRy6eXlW6cTLp)

2. Create a queue

![](/files/WCZZM17C87BWQ5f9cp4Y)

3. Give the queue a name

![](/files/4NwFxOCBfYTWopvpDahG)

4. Under **Configuration**, Set **Message retention** to **1 day**

![](/files/2DiqS18MGGPSrlgE7Qfn)

5. Under **Access policy**, click **Advanced**.

![](/files/1n0OGLRPNwuCln6cYAZ3)

6. Delete the default JSON in the Advanced Access policy.
7. Copy and paste in the following JSON, changing `<bucketname>` to be the name of the S3 bucket you created in an earlier step.

{% tabs %}
{% tab title="JSON" %}

```json
{
  "Version": "2012-10-17",
  "Id": "PushMessageToSQSPolicy",
  "Statement": [
    {
      "Sid": "allow-sns-to-send-message-to-sqs",
      "Effect": "Allow",
      "Principal": {
        "AWS": "*"
      },
      "Action": "sqs:SendMessage",
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aws:SourceArn": "arn:aws:s3:::<bucketname>"
        }
      }
    }
  ]
}
```

{% endtab %}
{% endtabs %}

The result should look like this:

![](/files/Q5a6Uw1C1rWlDJa4f5YF)

{% hint style="info" %}
**📘Leave all other settings set as default, or follow the policies set by your organization.**
{% endhint %}

8. Click **Create queue**

![](/files/LteZSjXl7tHpjVehDKGc)

9. Save the SQS queue ARN in a text file. This will come in handy later.

![](/files/pxQNnoOCBNd0pCE0rIVp)


---

# Agent Instructions: 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:

```
GET https://docs.fusion.vectra.ai/quick-start/quickstart-aws/create-the-sqs-queue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
