Question
How can I hide the sign in button from my help center?
Answer
To remove the option for customers to sign in, but still let anyone contact you through your help center, customize the theme of your help center. This varies whether you use templating api v1, or either templating api v2 or v3. If you are not sure which version you are using, see the article: About Guide templating versions.
To remove the sign in button
- Edit the code of your help center theme.
- Remove the Sign in link from all help center templates. For Templating API v1 of our Copenhagen theme, delete the user_info helper from the Header template.
For Templating API v2 and v3, delete all references or code blocks that rely on thesigned_in
helper that include the{{link "sign_in"}}
helper. For example, the following block:
<nav class="user-nav" id="user-nav"> <ul class="user-nav-list"> <li>{{link 'community'}}</li> <li>{{link 'new_request' class='submit-a-request'}}</li> {{#unless signed_in}} <li> {{#link "sign_in" class="sign-in"}} {{t 'sign_in'}} {{/link}} </li> {{/unless}} </ul> </nav>
Would become:
<nav class="user-nav" id="user-nav"> <ul class="user-nav-list"> <li>{{link 'community'}}</li> <li>{{link 'new_request' class='submit-a-request'}}</li> </ul> </nav>
Warning: The Copenhagen theme is constantly being updated and the locations of this helper are subject to change. Zendesk recommends reviewing the repository zendesk/copenhagen_theme. - Instruct your agents to bookmark the
yoursubdomain.zendesk.com/access/normal
path to use to sign in and access Zendesk. - Enable SSO for end users and set the remote URL to some page within your domain. This way, if an end user finds the user registration page somehow, for example, direct URL, they are redirected away from the Zendesk login page that includes the Sign in button.
Additionally, remove any Zendesk branding from the welcome email and outbound email notifications in general by modifying the email template and specifically removing the two placeholders highlighted below, footer
and footer_link
.
{{ticket.url}}
placeholder in your messages to end users as it generates a link to view the ticket in the help center.For information about how to remove the sign-up button and disable the ability for anyone to create tickets, see the article: How do I remove the ability for customers to sign up to our account?