---
title: ServiceNow
slug: servicenow
description: The ServiceNow integration posts alert data as records into a ServiceNow table using API key authentication. Setup requires an authentication profile, REST API key, and access policy in ServiceNow.
docTags: 
createdAt: 2023-10-10T20:04:06.991Z
---

This guide explains how to set up the ServiceNow integration for Flare using an API key for secure authentication. The steps below outline how to generate the necessary API key in ServiceNow and configure the integration in Flare.

## ServiceNow-Side

### Verify Required Plugins

::::WorkflowBlock
:::WorkflowBlockItem
Navigate to **All > Admin Center > Application Manager&#x20;**&#x61;nd ensure that the **API Key and HMAC Authentication&#x20;**&#x70;lugin is activated.
:::
::::

### Create an Authentication Profile

::::WorkflowBlock
:::WorkflowBlockItem
Go to: **All → System Web Services → API Access Policies → Inbound Authentication Profile**
:::

:::WorkflowBlockItem
Click **New** to create a new profile.
:::

:::WorkflowBlockItem
Select **Create API Key authentication profiles**.
:::

:::WorkflowBlockItem
Provide a clear name, e.g., **Flare Authentication Profile**.
:::

:::WorkflowBlockItem
Click the **padlock** icon next to **Auth Parameter**, then click the **magnifying glass** icon.
:::

:::WorkflowBlockItem
From the modal, select **x-sn-apikey | Auth Header**.

![](https://api.archbee.com/api/optimize/wtmLmyh6YG71yn5qVtkMM/LiNI711cPlJRcO5VGm3uU_image.png)
:::

:::WorkflowBlockItem
Click **Submit** to save.
:::
::::

### Generate a REST API Key

::::WorkflowBlock
:::WorkflowBlockItem
Navigate to: **All → System Web Services → API Access Policies → REST API Key**
:::

:::WorkflowBlockItem
Click **New** to create a new API key.
:::

:::WorkflowBlockItem
Name it clearly, e.g., **Flare API Key**.
:::

:::WorkflowBlockItem
Assign a user account that has **write access** to the target table. Ideally, use an account that will remain active long-term.
:::

:::WorkflowBlockItem
Click **Submit**.
:::
::::



### Set Up an API Access Policy

::::WorkflowBlock
:::WorkflowBlockItem
Go to: **All → System Web Services → API Access Policies → REST API Access Policies**
(Note: This page may take a few seconds to load.)
:::

:::WorkflowBlockItem
Click **New** to create a policy.
:::

:::WorkflowBlockItem
Name it, e.g., **Flare API Access Policy**.
:::

:::WorkflowBlockItem
Check the **Active** box.
:::

:::WorkflowBlockItem
From the **REST API** dropdown, select **Table API**.
:::

:::WorkflowBlockItem
Uncheck **Apply to all methods**, then select **POST** as the HTTP method.
:::

:::WorkflowBlockItem
Uncheck **Apply to all resources**, then specify: `now/table/{tableName}` as the Resource.
:::

:::WorkflowBlockItem
Uncheck **Apply to all tables**, then choose the table you want to use.
:::

:::WorkflowBlockItem
In the **Inbound Authentication Profiles** section, add the name of the API key you created — it should auto-fill as you type.
:::

:::WorkflowBlockItem
Click **Submit** to save the policy.
:::
::::

## Flare-Side

::::WorkflowBlock
:::WorkflowBlockItem
In Flare, go to the **Integrations&#x20;**&#x70;age
:::

:::WorkflowBlockItem
Click Configure then **Create Channel**.
:::

:::WorkflowBlockItem
For the channel type, select **ServiceNow**.
:::

:::WorkflowBlockItem
Enter a **Name** for the channel.
:::

:::WorkflowBlockItem
Fill in your **ServiceNow instance information**.
:::

:::WorkflowBlockItem
Provide the **API key value** generated from the ServiceNow steps above.
:::

:::WorkflowBlockItem
Click **Test Channel** to validate the configuration.
:::

:::WorkflowBlockItem
Once the test succeeds, click **Create Alert Channel**.
:::
::::

Flare will now post the data in your table as soon as it find it. Here is an example of what a Flare Incident will look like in ServiceNow:



![](https://lh7-us.googleusercontent.com/T2THVYWhNlSLH0x-0M21y68JYWHtAZ_uF8tJtzidnzuwzBK2U5XWMAgTsWVAFVLWk8blIYsvxpUtIkamJm6RbMRJLiNB7oJTVNVXn4ufMinB94x9NU3BxSVst4BL8aUmAoxPY76vcOScBV7EAXEBJg4)

# Related Articles

:::CtaButton{label="Slack Integration" docId="kpbMB0w-L80be7nunpDrw" openInNewTab="true"}

:::

:::CtaButton{label="Splunk Integration" docId="ca9Opdt4_IFgL1pu8HBSU" openInNewTab="true"}

:::

:::CtaButton{label="Jira Integration" docId="KxvmCnotECpsBlK_YPofr" openInNewTab="true"}

:::

