The Business and Consumer Portals are self-service web portals built on the Service Portal application: the Business Portal serves business-to-business customers and the Consumer Portal serves business-to-consumer customers. Both are inactive by default. Setup means activating the plugin, clearing the Inactive flag on each portal record, then configuring branding, menus, widgets, header, footer and roles. For the wider concept, read the plain-language guide to the customer self-service portal.
Activate the portal plugin first
Activate the portal plugin before you configure anything. Install it from the ServiceNow store application, or from the plugins list in the Customer Service Management application, then select Activate. Activation uses the admin role, which is separate from the sp_admin role used for configuration.
| Plugin name | Plugin identifier | Portal it enables |
|---|---|---|
| Customer Service Portal | com.snc.customer_service_portal | Business Portal |
| Consumer Service Portal | com.snc.consumer_service_portal | Consumer Portal |
After you install either portal store app, check the list of installed store apps to confirm that the matching portal store app is also present.
Choose the portal and the roles
The two portals serve different customers. The Business Portal is for B2B customers, where contacts log in and raise cases for their company. The Consumer Portal is for B2C customers, who are individuals. Both start with the same building blocks: a header and footer with links for customer activities, a home page summary, a hierarchical menu, a browse experience that joins knowledge and catalog through taxonomy topics, list pages, and record view pages. Extra capability, such as order management, comes from installing a further plugin. For how these roles map onto responsibilities, see the roles and responsibilities guide.
On the Business Portal, roles decide what a logged-in user can change:
| User role | Main abilities on the Business Portal |
|---|---|
| Customer | Create cases, view and edit the cases they created, and search for information |
| Customer case manager | Also create cases for child accounts and for other contacts, and edit account cases |
| Customer administrator | Access to the data within the account |
| Partner | Create cases for their own account and on behalf of customer accounts |
| Partner administrator | Also view and edit cases belonging to the partner account and to customer accounts, and manage users for the partner and customer accounts |
The customer case manager role is not added to the contact role assignment property automatically. Go to Customer Service, then Administration, then Properties, and add it to sn_customerservice.contact_role_assignment so customer and partner administrators can see it. For wider access planning, the customer self-service portal access design guide covers the trade-offs.
Turn on the portal record
Navigate to All, then Service Portal, then Portals. In the Title column, enter business portal or consumer portal, and select the matching record. Clear the Inactive check box, then select Update. The Business Portal then answers on the business_portal path under your instance address, and the Consumer Portal on the consumer_portal path.
Set up the configuration components
Customization happens under All, then Service Portal, then Service Portal Configuration. Some of the components you can set include:
| Component | What you set |
|---|---|
| Branding | Look and feel for each portal; the Coral theme is available to both |
| Menus | The base system menu, or a new menu for the header |
| Home page | Widget configuration on the default home page, or a custom home page |
| Taxonomy | The topics your users browse by |
| List pages | How cases, products and orders can be browsed, searched and filtered |
| Roles | Whether a page is public (no login) or limited to certain user roles |
| Knowledge base and catalog | The knowledge articles and catalog items the portal shows |
Identify the public pages early, so that menu links are not built to pages an anonymous visitor cannot open. If the portal is part of a wider rollout, place these steps within the implementation roadmap.
Apply your own theme and fonts
The default theme for both portals is Coral. To match your branding and font sizes, go to All, then Service Portal, then Themes, select the theme, and open the CSS Includes related list. Select Edit and add these three style sheets: portal-polaris-set-base-font, portal-polaris-rem-px-theme and portal-polaris-kb-rem-px-theme.
Order matters. Open each style sheet from its preview icon and set the base font sheet to the lowest position, the rem-to-pixel theme sheet to second highest, and the knowledge base rem-to-pixel sheet to the highest. Save and update the theme. Convert each rem value to pixels at a factor of 10, so 10 rems becomes 100 pixels. Check one heading after the change before converting the rest of the stylesheet. For a structured check of the result, use the testing and acceptance checklist.
Build the home page from configurable widgets
Configurable Portal widgets change behavior, content and layout through instance options rather than new code. Each widget placed on a page is set up on its own Instance form.
| Widget | What it displays |
|---|---|
| Polaris Header | Logo, search and profile on level 1, with menu items on level 2 |
| Banner and Banner Carousel | Announcements and feature highlights, singly or in a carousel |
| Quick Links | Links to a knowledge article, catalog item, custom page or external URL |
| Data List | Cases, appointments, work orders or any other table, as a list or cards |
| Case Cards | Case records filtered by criteria, with state, update and date |
| FAQ | Frequently asked articles from a knowledge table, by category or product |
| Browse Taxonomy and Taxonomy Topic | Topics with their related articles and catalog items |
| Polaris Footer | Company details, site links, external links and social media links |
To add widgets to a new page, the UI Components for Customer Portals plugin must be active. Then, under Service Portal Configuration, open the Designer, select Add a new Page, enter a title, and enter an ID with no spaces or special characters other than an underscore. Select Submit.
Configure the header
The Polaris Header is selected on the theme record, which maps it to the portal. Level 1 can hold the logo, search, language selector, profile, guided tours, notification approvals, surveys, wish list and cart. Level 2 holds the main menu and its submenu items, taken from the portal record and the menu record associated with it. A multi-level hierarchy in level 2 requires the Portal Mega Menu widget. In mobile view, menu items are grouped by category, and guided tours and the language selector are not supported there.
Configure the footer and its links
The footer is built from the organization logo, company address lines, sitemap links, footer links, social media links and copyright text. Activate the Portal Next Experience theme application before configuring it.
Each of the three menus is filled through the Menu item form. Portal Footer Links holds the bottom-right links; open it, pick a category under Related Links, and fill in the item. Portal Footer Sitemap Links holds the sitemap, one category at a time; if you need a new menu record, create it with New. Portal Footer Social Links holds one entry per social account, so repeat the item step for each account.
Check portal usage after launch
The Customer Portal Usage dashboard is under Customer Service, then Administration, then Portal Usage. It separates three session types: guest sessions from visitors who are not logged in, bot sessions from bots and crawlers, and external sessions from logged-in customers or consumers.
A session ends after a period of inactivity. The default timeout is 30 minutes, and a system property controls it. Guest visitors have a separate timeout property, glide.guest.session_timeout, which new instances are provisioned with at 5 minutes. Usage is counted per session, per day and per portal, and a login from another browser or device counts as its own visit. Metrics use a 24-hour window that starts with the first portal page call.
The counting rules produce a result that surprises people. A visitor who browses as a guest, logs in, logs out and immediately logs back in gives a count on the guest visit and on the second login, but not on the first login or the logout. Keep that in mind when you compare the dashboard with your own visitor numbers. The KPIs and metrics guide covers the measures to track alongside portal usage.
Frequently asked questions
Is the Business Portal live once the plugin is installed?
No. The Business and Consumer Portal record is inactive by default. Open it under Service Portal, then Portals, clear the Inactive check box, and select Update.
Which portal should business customers use?
The Business Portal. It is built for business-to-business customers, where contacts log in and raise cases for their company. The Consumer Portal is for business-to-consumer customers.
Which roles can create a case on behalf of another contact?
The customer case manager and the customer administrator can create a case for another contact in their account. Partners and partner administrators can create cases on behalf of customer accounts. A plain customer raises cases for their own account. For what happens once a case is raised, see case management for customers.
Why does the customer case manager role not show the expected access?
The role is not added to the contact role assignment property automatically. Add it under Customer Service, then Administration, then Properties, using the sn_customerservice.contact_role_assignment property.
How do I change the font size of portal text?
Add the three theme style sheets to the CSS Includes list, set their order, and convert rem values to pixels with a factor of 10, so 1.5 rems becomes 15 pixels. Check one heading after the change, then convert the rest of the stylesheet.
Do bot sessions inflate the portal usage numbers?
They appear on the dashboard as a separate session type. The dashboard lets you ignore bot session usage, so read the guest and external session counts on their own when you judge customer activity.