# Knowledge base and help center

Write help articles in collections and publish them to a public help center for each brand.

The knowledge base holds your help articles, grouped into **collections**. Published articles appear in your public **help center**, which customers browse and search, and which the chat widget links to. Each [brand](/guides/brands-and-widgets/) has its own help center, at `https://<brand slug>.opendeskhelp.com` or on a domain of yours ([Help center addresses](/guides/help-center-addresses/)).

Open **Knowledge base** in the sidebar.

![The Knowledge base page: New article ringed as 1, Draft from tickets as 2, View help center as 3, the collection cards and New collection as 4, and the brand filter, the All, Published and Drafts filter and the search box as 5](https://heykefu.com/guides/kb/overview.webp)

1. **New article**: start a blank article.
2. **Draft from tickets**: let Ollie write a first draft from solved conversations.
3. **View help center**: open the public help center in a new tab.
4. **Collections**: broad topics such as "Getting started" or "Billing", with their article and draft counts. **New collection** adds one.
5. **Filter and search**: one brand's articles (once you have more than one brand), all articles, only published ones, or only drafts, and search.

## Write an article

**1. Make a collection**

Click **New collection**, give it a **Name**, and a **Description** that shows under its title in the help center. With more than one brand, pick its **Brand**: **All brands** shows it in every help center.

![The new collection dialog with the Name field ringed as 1, the Description field ringed as 2 and the Brand picker ringed as 3](https://heykefu.com/guides/kb/new-collection.webp)

**2. Write the article**

Click **New article**. Pick its collection at the top, then write a title, a one-line summary for search results, and the body. Use headings so readers can scan, and drop images straight into the text.

![The article editor: the collection picker ringed as 1, the title and summary as 2, the formatting toolbar as 3, the article's URL as 4, Save with the more actions menu as 5, and the Brand picker as 6](https://heykefu.com/guides/kb/editor.webp)

1. **Collection**: where it appears in the help center.
2. **Title and summary**: the summary shows in search results and collection lists.
3. **Toolbar**: headings, bold, italic, strikethrough, links, lists, quotes, code and images.
4. **URL**: the article's address in the help center. It sits under its collection's, such as `/c/billing/update-payment-method`, so two collections can each have an article called `getting-started`. When you change it, move the article to another collection or rename a collection, the old address keeps working and leads to the new one.
5. **Save** and **more actions**: a new article has **Save draft** and **Publish** instead.
6. **Brand**: which help centers show the article. It follows its collection when the collection belongs to a brand.

**3. Publish it**

Click **Publish** and the article is live in the help center and its search. To take a published article down, open **more actions** and choose **Unpublish**: it goes back to being a draft.

![The more actions menu of a published article with Unpublish ringed as 1, above Delete article](https://heykefu.com/guides/kb/more.webp)

> **Good to know**
>
> - Drafts are visible only to your team. Only published articles are ever shown to customers.
> - Each published article counts its views, and the page's **Views** tile names the most read one.
> - Article bodies are sanitized before they are stored, so only safe formatting reaches readers.

## Draft an article from tickets

When the same question keeps coming in, let Ollie turn the answers into an article. Click **Draft from tickets**, add up to 10 tickets that answer the question, or describe the topic, then click **Draft article**.

![The Draft an article from tickets dialog: Add a ticket ringed as 1, the Topic field ringed as 2, and Draft article with its cost ringed as 3](https://heykefu.com/guides/kb/draft.webp)

The draft fills the editor; nothing is saved or published until you do. On Cloud it costs about $0.002 from the AI balance (see [AI features](/guides/ai/#ai-usage-on-cloud)). You can also ask [Ollie](/guides/ollie/) to draft one from recently solved tickets.

## Start an article from the wiki

When your team already explained something in the [wiki](/guides/wiki/), open the page's **More actions** menu and choose **Publish to help center**. Pick a title, a collection and, with several brands, a brand, then **Create draft**. The article starts as a draft copy of the page: check it here and publish it when it is ready.

Mentions of teammates, tickets and contacts keep only their text, and the wiki's own files and databases stay in the wiki. Nothing stays linked, so later edits of the page don't change the article. See [Publish a page to the help center](/guides/wiki-desk/#publish-a-page-to-the-help-center).

## The help center

Each brand's help center lists its collections, popular articles and a search box. Only published articles are shown.

![The public help center for Margin: the search box ringed as 1, the topics as 2, and the popular articles as 3](https://heykefu.com/guides/kb/help-center.webp)

### Turn it on for a brand

**1. Open the brand**

Go to **Settings, Brands and widgets**, choose the brand, and open its **Help center** tab.

**2. Publish it and set its look**

Turn on **Published**, set a **Title**, and copy the **Public link** to share it. Its address comes from the brand's slug, or is your own domain once you [add one](/guides/help-center-addresses/). Add a help center logo and favicon under **Look**.

![A brand's Help center tab ringed as 1, with Published ringed as 2, the public link https://app.opendesk.sh/help/margin ringed as 3, and the link to the knowledge base articles ringed as 4](https://heykefu.com/guides/kb/brand-help-center.webp)

### The customer portal

The help center's **Sign in** link opens the customer portal, where a customer follows their own requests: they see the list, read the public replies and answer. **New request** opens a form with a subject, a message and up to five files (10 MB each); a screenshot can be pasted straight into the message. Sending it opens a ticket for that customer on the brand, on the `portal` channel, and takes them to it.

A request is a new ticket like any other: [routing](/guides/routing/) rules and [automations](/guides/automations/) with the channel **Portal** apply, and the SLA, notifications and Ollie's triage run as for a new email. Your public replies show in the portal, where the customer reads and answers them; like a ticket from the API or a call, it has no reply address, so replies are not emailed. Priority, team, assignee and fields stay with your team; the customer sets none of them.

A customer starts up to 10 requests an hour, and all of a workspace's customers together up to 500. When the help center is not published, the portal takes no new requests.

#### Sign in through your identity provider

A brand can let customers sign in to the portal through your company's identity provider, over OpenID Connect or SAML 2.0, instead of or beside a password. In **Settings, Brands, Help center, Portal sign-in** pick **Password or identity provider** or **Identity provider only**, then the provider type.

For SAML, enter the two values shown at your provider: the **service provider entity ID** and the **assertion consumer service URL** (reply URL, HTTP-POST binding). The same entity ID address also serves the metadata file, if your provider can import one. Then paste back the provider's **entity ID**, its **sign-on URL** and its **signing certificates** (one to three, RSA with a 2048 bit key or more; add the new one before the old one expires). If the email isn't sent in an attribute called `email` or `mail`, name the attribute.

The provider must identify each customer with the same name ID every time: use the **persistent** name ID format (or an email address or other ID that doesn't change), which opendesk asks for. A **transient** name ID, which changes at every sign-in, is refused, and the customer sees a message asking them to contact your team.

Customers start at the portal and are sent to your provider; signing in from the provider's own app list is not supported. The customer's email address, from the signed assertion, finds their contact; **Create contacts on first sign-in** lets people with no contact in. Signing in this way gives access to the portal only, never to your team's app.

The help center also has a [changelog](/guides/changelog/) at `/changelog`, for product updates, with its own feed. Write entries under **Knowledge base**, in the **Changelog** view next to **Articles**.

## Articles and brands

A collection or article can belong to one brand, or to every brand:

- A brand's help center shows its own collections and articles, plus the ones shared by every brand.
- An article in a collection that belongs to a brand belongs to that brand too.
- The default brand's slug is the workspace's, so links to the help center from before you added brands keep working.

New collections and articles are shared by every brand. To give one to a single brand, pick it under **Brand** in the collection's dialog or the article's settings. Collections and articles of one brand carry its name in the knowledge base, and the brand filter above the list shows what one brand's help center has. The [Knowledge base API](/api/resources/knowledge-base/) sets the same thing as `brand_id`.

## Using articles in the inbox and the AI

- Global search in the inbox finds articles alongside tickets and contacts, so agents can link a customer to the right answer. Combine this with [saved replies](/guides/saved-replies-and-views/) for common questions.
- AI drafts cite the most relevant articles of the ticket's brand.
- The [AI agent](/guides/ai/#the-ai-agent-for-chat-and-email) answers chat and email from published articles, along with any other knowledge you add.

## Related

- [Brands and widgets](/guides/brands-and-widgets/)
- [Changelog](/guides/changelog/)
- [Wiki, tickets and Ollie](/guides/wiki-desk/)
- [Knowledge base API](/api/resources/knowledge-base/)
- [Public help center API](/api/resources/public/)
