Initial Setup

Instructions for setting up Amazon SQS queues for receiving events

  1. Create a SQS queue in AWS.

  2. Create an IAM Role for Stockal's account number.

    • Go to IAM -> Roles -> Create Role -> Select "Another AWS Account"
    • Provide Stockal's Account ID and Click "Next" to go to Policy Screen.
  3. Enter the following Policy Document:

{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Sid": "VisualEditor0",
			"Effect": "Allow",
			"Action": [
				"sqs:GetQueueUrl",
				"sqs:SendMessage",
				"sqs:GetQueueAttributes",
				"sqs:ListQueues"
			],
			"Resource": "<partner-sqs-arn>"
		}
	]
}
  1. Share the Role ARN and SQS Queue ARN with Stockal.

  2. Provide tech support email for notifying if there is any issue with your queue.