# Automations

{% hint style="info" %}
Please contact your First representative or <support@firstresonance.io> for details on activating the Automation tab as seen below or if you are interested in building your own automations. Once activated, use the [Set Up](#set-up) below for instructions on how to deploy this integration.
{% endhint %}

First Resonance has created automations based on the needs from our customer to help automate their factory operations. These automations are event or schedule triggered. The events trigger are based on actions that occur on ION objects such as the *creation* of an *issue*, or when a *run* *step* is *updated* as it is completed. Our automations leverage our [api](https://manual.firstresonance.io/api "mention") and [webhooks](https://manual.firstresonance.io/api/webhooks "mention") functionalities, giving us the power and flexibility we need to build these quickly.

## Set Up

1. Navigate to the [Integrations page](https://staging.firstresonance.io/integrations) designated by the two arrows in the bottom lefthand corner of your screen. <br>

   <figure><img src="https://3615148728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LkRqYp6lJhwxjYdzYG8%2Fuploads%2FNHIC3a7HNdeKD09m6Ms4%2Fimage.png?alt=media&#x26;token=581923d8-3615-4c1c-81a1-ad19c649154e" alt=""><figcaption><p>Set up automations from the Integrations page!</p></figcaption></figure>
2. Select any of the automations designated by the *Automations* category and hit **Configure.**&#x20;
3. Click next and add your ION API credentials and be sure to set your environment correctly. You can find documentation on API credentials here [api-keys](https://manual.firstresonance.io/api/api-keys "mention")
   * **IMPORTANT:** Each API Key is associated with a specific environment, be sure to generate the API keys from the correct environment and configure the automation to the designated environment <br>

     <figure><img src="https://3615148728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LkRqYp6lJhwxjYdzYG8%2Fuploads%2Fbz4h5YreHJj1iNhZcD2J%2Fimage.png?alt=media&#x26;token=7b8fc07f-817d-493e-a3d7-4b998a1e21f0" alt=""><figcaption><p>Set your Environment According to Where the API Keys were Generated</p></figcaption></figure>
4. Set up any additional configuration details as required per automation.
5. For more details on Deployment, check out this additional documentation:\
   [deploying-integrations-and-automations](https://manual.firstresonance.io/integrations/deploying-integrations-and-automations "mention")

### Warning Logs

In some instances you may want to be notified when an integration fails due to set up errors or if data was not configured correctly in both systems. For example, with a Netsuite integration, you need to ensure suppliers match in both systems. However, the integration will surface a warning log when the suppliers do not match. In that case, navigate to the instance of the automation/integration you deployed through the marketplace and view the logs. Than Filter the logs to ***Warn*** to see when an integration ran into an issue.

<figure><img src="https://3615148728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LkRqYp6lJhwxjYdzYG8%2Fuploads%2FacidQg82SFYAPKBUVCh5%2Fimage.png?alt=media&#x26;token=d0796e82-7fb9-4cfc-9b3c-eac36fe5a1a9" alt=""><figcaption></figcaption></figure>
