Add Branding and Components to the Site
The Category 1 Biking site is in great shape. In this step, add custom branding, update components, and put the finishing touches on the site. Begin by adding branding to the site, and updating the navigation menu.
Update the Headline
- Click the selector and select Builder.
- Click the Headline component.
- Update the headline as follows.
- Title:
Category 1 Biking
- Banner Text:
Welcome to the community!
- Click X to close the Headline editor.
Update the Theme
Next, use the theme menu to select colors and images for the site. Download this zip file to access images you can use for this project. Be sure to unzip the file.
- Select the Theme icon.
- Click Colors to expand the menu.
- Adjust the colors as you see fit.
- Click the left-facing arrow next to Colors to contract the menu.
- Click Images to expand the menu.
- Click Upload Image icon under Header Image.
- Click Upload Image and choose header.jpg from the folder you downloaded earlier.
- Click X to close the Theme editor.
Update the Navigation Menu
- Click the gray bar across the top to reveal the Navigation Menu component.
- Click Edit Default Navigation from the menu on the right.
- Click + Add Menu Item.
- Enter these details.
- Update the Name to
Cases
- Type: Salesforce Object
- Object Type: Case
- Default List View: My Open Cases
- Click Save Menu.
- Click X to close the Navigation Menu.
Add the Chat Snap-In and Article Components
- Select the Components icon.
- Enter
Embedded Service Chat
in the components search bar.
- Select Embedded Service Chat and drag it to the right sidebar, beneath the Ask a Question component.
- The Can’t Access Resources pop-up window will appear. You’ll adjust the Content Security Policy later. Click OK.
Note: Don't see the pop-up? Check your browser. If you're using Mozilla Firefox, try switching to Google Chrome.
- Click X to close the Embedded Service Chat dialogue box.
- Click the Components icon to re-open the menu.
- Enter Trending Articles by Topic in the components search bar.
- Select Trending Articles by Topic, and drag it to the sidebar beneath the Embedded Service Chat component.
- Click X to close the Trending Articles by Topic editor.
Adjust the Content Security Policy
Content Security Policy (CSP) is a web standard that defines rules to control the source of content that can be loaded on a page. All CSP rules work at the page level, and apply to all components and libraries. Adjust the CSP to allow Chat Agent to run on this site.
- Select the Settings icon.
- Select Security & Privacy.
- Click the Strict CSP drop-down and select Relaxed CSP: Permit Access to Inline Scripts and Allowed Hosts.
- Click Allow.
- The Can’t Access Resources pop-up window will appear again. Copy the https through .com portion of the URL listed. You’ll be adding this URL to your Trusted Sites for Scripts.
- After copying the URL, click OK.
- Click +Add Trusted Site.
- Paste the URL you just copied to the URL textbox.
- Enter
Chat
in the Name textbox.
- Ensure Active is checked.
- Click Add Site.
- Click the X to close the Settings window.
Publish Your Site
- Click Publish.
- On the Publish Your Site confirmation screen, click Publish, then Got It.
You receive an email confirmation once your site is published. Click the link in your email to see your site live!