> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Queue Permissions

Having created the queue in the previous step, the next task is configuring permissions to manage access. This involves creating a policy, setting up user access, and assigning the policy to the created user. Policies define the actions allowed on the queue and are crucial for controlling access to your AWS resources.

## Manage Access to AWS Resources

To begin configuring access to your queue, you first need:

1. Click the **three lines** icon located in the upper left corner of the AWS console.
2. Select the **All services** option.
3. Search the **Security, Identity, & Compliance** category and select **IAM** (Identity and Access Management).

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image1.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=272a6d3b6db1c592bfb6be1b56b0bd53" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image1.png" />
   </Frame>
4. Click **Policies** on the left side menu.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image2.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=582753cae73e996ce24a97035fdec701" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image2.png" />
   </Frame>

## Create Policy

Policies are created to define what actions users can perform on your queue. Follow these steps to create a new policy:

1. Click the **Create Policy** button.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image3.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=d0feb67b993740ee39b8db21b25a0749" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image3.png" />
   </Frame>
2. In the **Service > Choose a service** field, search and select **SQS**.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image4.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=a3ed6a756b4379d9ea045caef8cef588" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image4.png" />
   </Frame>

## Set Permissions for SQS

Now that you’ve selected SQS as the service, define the permissions needed for the queue:

1. Under **Actions**, select the permissions you need for the queue.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image5.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=247946871fd5ec1238c3b0a363e89a00" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image5.png" />
   </Frame>

## Set Policy to Specific ARN

The Policy you are creating can be assigned to any Queue. In this case, you’ll assign it to the specific queue created earlier.

<Note>
  **Resources**

  Ensure that the **Specific** resource is selected.
</Note>

To Add the ARN of the previously created queue, follow these steps:

1. Click **Add ARNs**.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image6.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=e90b65cb1acf3b436f7fe9192319e0e0" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image6.png" />
   </Frame>
2. Enter the copied ARN in the **Resource ARN** field. You can find this value from the confirmation screen displayed at the end of the [**Create New Queue**](/docs/manage-data-operations/amazon-sqs/amazon-queue-setup/create-new-queue) process.
3. Click the **Add ARNs** button.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image7.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=330f5ff2694f9c89e06e47086f27a680" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image7.png" />
   </Frame>
4. Click the **Next** button.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image8.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=befebfa0580776318a37a9687640c706" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image8.png" />
   </Frame>

## Review and Create the Policy

Before finalizing the policy, review its details to ensure all configurations are correct. This step is essential to avoid potential issues with permissions.

In the **Policy details** section:

1. Enter a unique **name** to identify this policy.
2. Add a description for this policy **(Optional)**.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image9.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=1e9b1e614ba4a817ff269ea9f1992dac" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image9.png" />
   </Frame>
3. Finally, click the **Create Policy** button.

   <Frame>
     <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image10.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=af3b36b4b234c2d81d5a4621adf10162" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image10.png" />
   </Frame>

Once the policy is created, you will receive a confirmation that it has been successfully set up.

<Frame>
  <img src="https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/set-up-queue-permissions/image11.png?fit=max&auto=format&n=gp-udlFbAMEECcYg&q=85&s=9455d03e6ba8fae63392903cd3f162b6" width="1600" height="900" data-path="images/docs/set-up-queue-permissions/image11.png" />
</Frame>

<br />
