---
schema_version: "1"
id: a955a51ae4d67a72048647b00e1030296c17ab9cdc65196bd0419abf16f49341
title: Generate Login HTML
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/customize_selfservicegenerate.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.customize_selfservicegenerate.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4b3a50db0f310504b94654591b45ea52e0d4b886fb8a798ae62c4cf36d780d13
description: After enabling and customizing your Self-Service portal, generate the URL or HTML code where users will log in to your Self-Service portal.
products:
  - Service Cloud
release: "264"
---
# Generate Login HTML

After enabling and customizing your Self-Service portal, generate the URL or HTML code where users will log in to your Self-Service portal.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><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.legacy_editions.htm&amp;language=en_US" target="_blank">View supported editions</a></td></tr></tbody></table>

<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="vertical-align:top;" id="d11908e54">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d11908e54 ">To generate Self-Service portal HTML:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d11908e54 ">Manage Self-Service Portal</td>

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

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_legacy-264-0-0-production-enus/081af4ec-6c06-4d4b-9443-cb3516bbc46d/images/icon_note.png)

Note Starting with Spring ’12, the Self-Service portal isn’t available for new Salesforce orgs. Existing orgs continue to have access to the Self-Service portal.

1. From Setup, enter Self-Service Portal in the Quick Find box, then select **Settings**.
2. Click **Generate Login HTML**.
3. Insert the URL or HTML code provided into your portal’s Web page.
4. Click **Finished** to return to the Self-Service Settings page.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_legacy-264-0-0-production-enus/081af4ec-6c06-4d4b-9443-cb3516bbc46d/images/icon_note.png)

Note You can’t be logged into Salesforce and the Self-Service portal at the same time, with the same browser. For example, if you log into Salesforce and then the Self-Service portal using the same browser, your Salesforce session becomes invalid. Conversely, if you log into the Self-Service portal and then Salesforce using the same browser, your Self-Service portal session becomes invalid.

#### See Also

- [Set Up Your Self-Service Portal](https://help.salesforce.com/s/articleView?id=service.customize_selfservice.htm&release=264.0.0&type=5 "Self-Service provides an online support channel for your customers, allowing them to resolve their inquiries without contacting a customer service rep.")