# Notifications

Aiimi Insight Engine can send notifications within the apps notifications area or to a users email. Notifications and alerts are based on a user’s permissions and role.&#x20;

Aiimi Insight Engine supports SMS notifications using the Pinpoint provider, however, you will need an account with Pinpoint to use this.

_\*Note that you will need to configure the Notifications Processor Job to run notifications._

### General Configuration

1. Choose how frequently Aiimi Insight Engine checks for new notifications. Enter the time between checks within Notification Interval in seconds.&#x20;
   * Having these too frequently can cause system performance problems.
2. Check Record Events to enable User Notifications to receive change notifications.
3. Choose from the Email Provider dropdown to configure.

<figure><img src="https://content.gitbook.com/content/TeIpIDd1NvvE3B8SW7eS/blobs/THdAjJ8UKhcM41aA0a5O/image.png" alt="" width="563"><figcaption></figcaption></figure>

### Email Configuration

#### Exchange Online

1. Select the Client ID and the secret for the O365/Exchange Online configuration from the Select Credential dropdown (Client ID / Secret).
2. Select the account and password that authenticates the specified mail server.
3. Enter the email address the notifications will come from in From Address.
4. Enter the URI of the exchange service within Host.
5. Enter the ID of the tenant in to Tenant.
6. Send a test email to ensure emails send correctly by selecting Send Test Email.

<figure><img src="https://content.gitbook.com/content/TeIpIDd1NvvE3B8SW7eS/blobs/xbnp5DOSqquJTPTc9clq/image.png" alt="" width="563"><figcaption></figcaption></figure>

#### SMTP&#x20;

1. Select the Client ID and the secret for the server configuration from the Select Credential dropdown.
2. Enter the email address the notifications will come from in From Address.
3. Enter the SMTP server address of the exchange service within Host.
4. Enter the port for the SMTP server.
5. Enter A HELO Message to set the command for the SMTP server to initiate the SMTP conversation.&#x20;
   * The domain name or IP address of the SMTP client is usually sent as an argument together with the message (e.g. “HELO client.example.com”).
6. Check SSL Authentication Enabled if the email server requires SSL.
7. Send a test email to ensure emails send correctly by selecting Send Test Email.

<figure><img src="https://content.gitbook.com/content/TeIpIDd1NvvE3B8SW7eS/blobs/CrhxxcsPqvZ8QcjQ92Ih/image.png" alt="" width="563"><figcaption></figcaption></figure>

### SMS Configuration

1. If you want to send SMS notifications check Enable SMS notifications.
2. We only support Pinpoint as an SMS provider at the moment.
3. Enter your Amazon Pinpoint Application ID into Application ID.
4. Select the Client ID and the secret for the configuration from the Select Credential dropdown.
5. Enter the Region your Amazon Pinpoint server is hosted.
6. Choose the Message Type from the dropdown. Choose between Transactional and Promotional messages.&#x20;
   * Transactional messages should be used for time sensitive applications such as recovery or login codes.
   * Promotional messages should be used for non critical messages such as marketing messages.
7. Send a test SMS to ensure they send correctly by selecting Send Test SMS.

<figure><img src="https://content.gitbook.com/content/TeIpIDd1NvvE3B8SW7eS/blobs/gOvulEKUouU1tqsyx1xQ/image.png" alt="" width="563"><figcaption></figcaption></figure>
