---
schema_version: "1"
id: 24136cce3bd5b8226b426b948a92fca7efed92ad09254413d71233df55caa2ae
title: Configure Your Network for Server-Sent Events
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/configure_server_sent_events.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.configure_server_sent_events.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fee67e375f4193c98fcb9f26b10027de60d93c3e495e1af1d4953521aa11db9a
description: Make sure that your real-time messaging services have stable connectivity by configuring your IT and network security settings.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Configure Your Network for Server-Sent Events

Make sure that your real-time messaging services have stable connectivity by configuring your IT and network security settings.

### Required Editions

[View Supported Editions](https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&type=5&language=en_US)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d115360e43">User Permissions</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d115360e43 ">To manage connections and handle messaging sessions:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d115360e43 ">
              <ul>
                <li>Enhaced Chat User permission set</li>

                <li>Enhanced Chat Rep user permission</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d115360e43 ">To reply or transfer conversations:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d115360e43 ">Access Conversation Entries permission. This permission is available via the Service
              Cloud Voice User license or the Agentforce Service Agent User license.</td>

          </tr>
        </tbody>
      </table>

Apply these rules to the ORGSUBDOMAINHERE.my.salesforce-scrt.com domain. Apply these settings across all network layers, including endpoint security software, such as antivirus programs, and browser extensions that act as local proxies.

- **Firewall and proxy allowlisting**: Permit outbound HTTPS traffic on Port 443 for the domain. Apply this rule to firewalls, load balancers, and VPNs.
- **Disable SSL and TLS inspection**: Create an SSL bypass rule, or HTTPS inspection exemption, for this domain. This bypass prevents the security engine from intercepting and buffering the real-time stream.
- **Disable response buffering**: Configure proxies and gateways to stream responses rather than buffer them.
- **Connection timeouts**: Set the connection timeout to at least 75 minutes. We recommend 90 minutes. This timeout setting prevents the network from prematurely cutting the open line.

## Set Up CORS for Server-Sent Events

Allowlist the messaging domain within Salesforce to make sure that Server-Sent Events (SSE) function correctly.

1. From Setup, in the Quick Find box, enter CORS, and then select **CORS**.
2. Click **New**.
3. Enter https://ORGSUBDOMAINHERE.my.salesforce-scrt.com.
4. Save your changes.