Connect to Amazon SQS
Learn how to connect Amazon SQS to Retool.
You can use the SQS native integration to create a resource and make it available in Retool. Once complete, your users can write queries that interact with SQS data.
You can use the Amazon SQS integration in apps and workflows to send, receive, and delete messages from a queue.
Requirements
The SQS integration requirements depend on whether you have a cloud-hosted or self-hosted Retool instance. You may also need to make SQS configuration changes before creating the resource.
- Cloud-hosted organizations
- Self-hosted instances
Sufficient user permissions to create resources
All users for Retool organizations on Free or Team plans have global Edit permissions and can add, edit, and remove resources. If your organization manages user permissions for resources, you must be a member of a group with Edit all permissions.
Allow Retool to access the data source
If the data source is behind a firewall or restricts access based on IP address, then you must ensure that your Retool organization can access it. If necessary, configure your data source to allow access from Retool's IP addresses.
To allow Retool access from one of its outbound regions, you must include the necessary IP addresses in your allowlist if you use inbound firewall rules. You can also use the Get IP Allowlist by Region endpoint to retrieve this list programmatically.
- us-west-2
- eu-central-1
- ap-southeast-1
35.90.103.132/30
44.208.168.68/30
35.90.103.132
35.90.103.133
35.90.103.134
35.90.103.135
44.208.168.68
44.208.168.69
44.208.168.70
44.208.168.71
3.77.79.248/30
3.77.79.248
3.77.79.249
3.77.79.250
3.77.79.251
47.128.165.252
54.169.175.71
54.255.139.141
SQS settings and authentication
You must have sufficient access and familiarity with your SQS data source so you can provide:
- Required connection settings (e.g., URL and server variables).
- Authentication credentials (e.g., API keys).
In some cases, you may need to make changes to your SQS configuration, such as generating authentication credentials or allowing access through a firewall. Refer to the configuration and authentication sections to learn more.
Set up SQS policy credentials
Set up an Amazon SQS queue for Retool to access. Generate an SQS policy for that resource with rights to the following actions:
"Effect":"Allow",
"Action":[
"sqs:SendMessage",
"sqs:ReceiveMessage",
"sqs:DeleteMessage",
"sqs:GetQueueAttributes",
"sqs:ListTopics"
]
Sufficient user permissions to create resources
All users for Retool organizations on Free or Team plans have global Edit permissions and can add, edit, and remove resources. If your organization manages user permissions for resources, you must be a member of a group with Edit all permissions.
Allow your deployment to access the data source
Your self-hosted instance must have access to the data source. Ensure that any potential firewall rules for either the data source or your deployment instance are updated to allow them to communicate.
SQS settings and authentication
You must have sufficient access and familiarity with your SQS data source so you can provide:
- Required connection settings (e.g., URL and server variables).
- Authentication credentials (e.g., API keys).
In some cases, you may need to make changes to your SQS configuration, such as generating authentication credentials or allowing access through a firewall. Refer to the configuration and authentication sections to learn more.
Set up SQS policy credentials
Set up an Amazon SQS queue for Retool to access. Generate an SQS policy for that resource with rights to the following actions:
"Effect":"Allow",
"Action":[
"sqs:SendMessage",
"sqs:ReceiveMessage",
"sqs:DeleteMessage",
"sqs:GetQueueAttributes",
"sqs:ListTopics"
]
Configure the resource
Sign in to your Retool organization and navigate to the Resources tab. Click Create new > Resource, then select SQS.