---
title: "Salesforce"
canonical: "https://support.appfire.com/space/CHAT/628164687/Salesforce"
format: markdown
---
> Macro (aura-html)

Integrate Salesforce with Jira Service Management using the Chat for JSM app to enable Salesforce users to reach out to your support team without the need to switch contexts. This integration streamlines communication and enhances the overall support experience.

## Prerequisites

- Ensure you have the Chat widget [installed on your website](https://appfire.atlassian.net/wiki/spaces/CHAT/pages/87851504/Add+Chat+Widget+on+Your+Website?atl_f=PAGETREE).

## Set up Salesforce integration

1. Go to **Setup** > **Custom code** > **Visualforce Pages**, and create new [Visualforce Pages](https://help.salesforce.com/s/articleView?id=sf.pages_creating.htm&type=5).
2. Fill out the required information and paste the code you copied from the Chat settings under the **Visualforce Markup** tab.
3. Check** **the `Available for Lightning Experience, Experience Builder sites, and the mobile app`* *checkbox.
4. From *Setup*, go to **User Interface** > [**Lightning App Builder**](https://help.salesforce.com/s/articleView?id=sf.lightning_app_builder_overview.htm&type=5)**.**
5. Create a new Lightning page or modify the existing one where you want to have the Chat widget.
6. Add the Visualforce component to your page.
7. Click **Save** when you’re done editing your page. To give your users access to the app page, you must [activate it](https://help.salesforce.com/s/articleView?id=sf.lightning_page_getting_into_salesforce1.htm&language=en_US&type=5#lightning_page_getting_into_salesforce1).

## Chat for JSM behavior

No additional configuration in Chat for JSM is required. As soon as you connect your JSM instance with Salesforce, your Salesforce users will see the Chat widget and will be able to contact your service team directly from Salesforce.

![Chat for Jira Service Management Cloud Salesforce integration setup](media://fd32285c-9ab7-4f80-8609-9b450946f0f2)

All conversations are automatically converted to Jira tickets, and responses are synchronized in real time as comments.

![Chat for Jira Service Management Cloud Lightning App Builder](media://4d986469-27e0-42aa-b101-58fa287a2b10)

> 📝 Alternatively, if you’re using [Marketing Cloud Intelligence](https://help.salesforce.com/s/articleView?id=sf.datorama.htm&type=5), refer to [this guide](https://trailhead.salesforce.com/content/learn/modules/data-visualization-with-datorama/utilize-custom-widgets-).