docs/versioned_docs/version-2.2.0/data-sources/amazonses.md
ToolJet can connect to your Amazon SES account to send emails.
To add a new Amazon SES API datasource, click the Datasource manager icon on the left-sidebar of the app builder and click on the Add datasource button, then select Amazon SES from the modal that pops up.
ToolJet supports connecting to Amazon SES using IAM credentials, AWS Instance Profile or AWS ARN Role.
If you are using IAM credentials, you will need to provide the following details:
It is recommended to create a new IAM user for the database so that you can control the access levels of ToolJet.
<div style={{textAlign: 'center'}}> </div>To connect to Amazon SES using AWS Instance Profile, select the Use AWS Instance Profile. This will use the IAM role attached to the EC2 instance where ToolJet is running. To access the metadata service of an ECS container and the EC2 instance, we use the WebIdentityToken parameter which is obtained from a successful login with an identity provider.
<div style={{textAlign: 'center'}}> </div>If you are using AWS ARN Role, you will need to provide the following details:
Required parameters:
Optional parameters:
:::info
Send mail to - accepts an array/list of emails separated by comma.
For example:
{{["[email protected]", "[email protected]"]}}.
Send mail from - accepts a string.
For example: [email protected]
:::
:::tip
Send a single email to multiple recipients - The Send mail to field can contain an array of recipients, which will send a single email with all of the recipients in the field.
:::
:::info Note Query should be saved before running. :::