---
title: "Set up Time to SLA integration"
canonical: "https://support.appfire.com/space/CSFJIRA/3672277145/Set+up+Time+to+SLA+integration"
format: markdown
---
> Macro (aura-html)

This guide walks Jira admins through connecting Time to SLA to Connector for Salesforce & Jira, creating integrations that route specific Salesforce instances to a Time to SLA scope, and displaying Jira work item SLAs on Salesforce record pages.

 

An integration assigns a Time to SLA scope to one or more Salesforce instances connected through the connector. You connect Time to SLA once per tenant, and then create named integrations, each mapped to the Salesforce instance URLs it applies to. After you add the SLA component to a Salesforce record page, users can see the SLAs for an associated Jira work item directly on the record.

## Before you start

Make sure you have:

- Jira administrator access on the Jira instance with Connector for Salesforce & Jira.
- Salesforce administrator access to edit record pages
- [Set up a connection to Salesforce in Jira.](https://appfire.atlassian.net/wiki/spaces/CSFJIRA/pages/1873379599)
- [Set up a connection to Jira in Salesforce](https://appfire.atlassian.net/wiki/spaces/CSFJIRA/pages/1873346949).
- [Mapped entities](https://appfire.atlassian.net/wiki/spaces/CSFJIRA/pages/3664152459) that should sync the SLA data (for example, Task Jira work item type with the Case Salesforce object type). Only mapped entities allow for associations and data synchronization.
- [Installed the Time to SLA app.](https://appfire.atlassian.net/wiki/spaces/TTSC/pages/35684371)
- [Defined SLAs in Time to SLA.](https://appfire.atlassian.net/wiki/spaces/TTSC/pages/35651691)

## Connect your Time to SLA token

> ✅ Open Time to SLA and Connector in two browser tabs so you can copy and paste easily.

### **Part 1: Copy the token from Time to SLA**

1. In Time to SLA, go to **Administration **>** SLAs in Salesforce**.
2. Click **+ Token**.
3. Click **Copy and close**.  Store the API token to paste it in the next steps.

### Part 2: Paste it into Connector

1. In Jira, select **Apps** from the left sidebar.
2. Next to *Connector for Salesforce and Jira,* click **Menu** () > **App settings**.
3. Under *Connector for Salesforce and Jira*, click **Integrations**.
4. Click **Add Token**.
5. Select your **Time to SLA base URL** region. It must match the region of your Time to SLA instance.
6. Paste your **Time to SLA API token**.    
This token is shared across the tenant. Every integration you create afterward uses it to talk to Time to SLA.
7. Click **Save**.  
When the status changes to [ACTIVE], you can create integrations.


## Create an integration

1. Click **Create an integration**.
  
2. In the *New integration *window, enter the following:
  - **Integration name**: Enter a unique name.
  - **Connections**: Select the connection between Jira and Salesforce for this integration.
    You can only select URLs that are authorized for your tenant and aren’t already claimed by another integration.
  - **Time to SLA scope**: Select the scope this integration uses.
    
3. Click **Save**.   
The integration appears in your *Integrations* list.

## Add the SLA component to a Salesforce record page

Finish setup in Salesforce so users can see SLAs on their records. Repeat these steps for each object type layout where you want SLAs to appear.

1. In Salesforce, load a record page, for example, a Case.
2. Click **Settings** > **Edit Page**.
  The Lightning App Builder loads.
3. In the sidebar, scroll to the bottom to find the **Time to SLA for Jira** component.
4. Drag the component onto the selected location for your page layout.
  In the sidebar, scroll to the bottom to find the **Time to SLA for Jira** component.
5. Check whether you have already added the **Jira Issue **component displaying Jira work items in the page layout. If not, add it next to the *Time to SLA for Jira* component.
6. Click **Activation** and **Save**.
7. Go back to the record page.
8. In the Jira Issue component, click **Associate/Create**.
9. If you have more than one connection, select the correct one under **Select a Connection.**
10. Under** Associate Jira Issue**, select a Jira Issue that already has SLAs set in Jira.
11. Enable automatic pull to allow SLAs from Jira to synchronize with Salesforce, and click **Associate.**
12. Refresh the page to display the *Time to SLA for Jira* component with SLA details.


## Related pages

- [Set up a connection to Salesforce in Jira.](https://appfire.atlassian.net/wiki/spaces/CSFJIRA/pages/1873379599)
- [Set up a connection to Jira in Salesforce](https://appfire.atlassian.net/wiki/spaces/CSFJIRA/pages/1873346949).
- [Map entities](https://appfire.atlassian.net/wiki/spaces/CSFJIRA/pages/3664152459)
- [Install the Time to SLA app.](https://appfire.atlassian.net/wiki/spaces/TTSC/pages/35684371)
- [Define SLAs in Time to SLA.](https://appfire.atlassian.net/wiki/spaces/TTSC/pages/35651691)