---
schema_version: "1"
id: e69a49119dd44cfe649c96d770f4b991cbb05e7c77628e43b5963f5e691d794a
title: Assign an Omni-Channel Flow to a Chat Button
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/omnichannel_create_chat_button_for_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.omnichannel_create_chat_button_for_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ed9dd8d3340a800ad28cf4f9de77b6b29b18928e9fea982f4e717a012371bb47
description: Route chats to the best service rep dynamically using the Omni-Channel routing type and Omni-Channel flows.
products:
  - Service Cloud
release: "264"
---
# Assign an Omni-Channel Flow to a Chat Button

Route chats to the best service rep dynamically using the Omni-Channel routing type and Omni-Channel flows.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.service_editions_reference.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

1. From Setup in the Quick Find box, enter Chat Buttons & Invitations, and then select **Chat Buttons & Invitations**.
2. Edit an existing button or create one.
3. In the Routing Information section, for Routing Type, select **Omni-Channel**.
4. Select **Use a flow for routing**.
5. For Routing Flow, specify the flow you created to route chats.
6. For Queue, select a queue for this chat button. If you aren’t using a routing flow, the queue manages and prioritizes chats. If you’re using a routing flow, the queue determines chat button availability. If the service reps assigned to the queue are online and have capacity, the button is available. To manage button availability, consider setting up a parent queue for the Chat button that includes a high-level grouping of service reps.
    
    ![Enable Omni-Channel, choose routing flow and queue.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/omnichannel/omnichannel_chat_button.png)