# Multi-product guides

## Purpose

A multi-product guide takes the reader to a goal that no single product reaches. It applies the [how-to](/en/documentation/style-guide/content/how-to-guides/) base form.

Other documentation sets split this kind into solution guides, design guides, and implementation guides. This documentation uses one name and one set of rules, because the three describe the same page.

## When to use

Write a multi-product guide when:

- The goal needs two or more products, and no product section owns it.
- The reader thinks in outcomes, such as protecting a checkout, rather than in product names.
- A single-product guide keeps sending the reader to another product mid-task.

Do not write a multi-product guide when:

- One product reaches the goal. Write a [how-to guide](/en/documentation/style-guide/content/how-to-guides/) in that product's section.
- The reader wants to understand the design rather than build it. Write an [architecture page](/en/documentation/style-guide/content/architecture/).
- The goal is a Use Case from the catalog. That is a use case, and it takes the same base form with an added scenario and a requirements table.

## Register

Procedural: 20 words per sentence, one instruction per step, imperative and active. Tone: directive, plain, decisive. [Sentence structure](/en/documentation/style-guide/writing/sentence-structure/) holds the rules.

## Structure

**Required components**

- **Problem opening**: one or two sentences stating the problem, before any product name. The products, and the resources they are configured on, enter after the problem, by role: "You configure caching on the application and request filtering on the firewall."
- **Prerequisites**: a `## Prerequisites` section, bulleted; each item is a link or a one-line command. A single prerequisite is a sentence, not a list.
- **Stages**: one `##` per workflow stage, never per product, each an imperative heading naming the stage. Each stage names its product on entry, holds an ordinary procedure, and stands alone.
- **Outcome sentence**: every procedure ends by stating what the reader now has or sees.
- **Next steps**: a closing `## Next steps` section, a `DocCardGroup` with one card per destination: the title, the link, and the reason as the card copy.

**Optional components**

- **A products table**: what each product contributes, when more than three are involved.
- **A diagram**: when the order of the pieces is hard to hold in prose. Link the [architecture page](/en/documentation/style-guide/content/architecture/) instead when one exists.

## Template

Copy the template and replace each `<placeholder>`.

```mdx
import DocCardGroup from '@aziontech/webkit/doc-card-group'
import DocCard from '@aziontech/webkit/doc-card'

[One or two sentences: the problem first, then the
products, by role.]

## Prerequisites

- <A link or a one-line command per item>

---

## <Imperative heading naming the first workflow stage>

<One sentence naming the product this stage runs in.>

To <reach the result of the stage>:

1. <One imperative instruction.>
2. <One imperative instruction.>

<The outcome: what the reader now has or sees.>

---

## <Imperative heading naming the next stage>

---

## Next steps

<DocCardGroup cols={2}>
  <DocCard title="<Title>" href="/path/" label="<why the reader would follow it>" />
</DocCardGroup>
```

Separate the major sections of the page with a `---` rule, and never place one directly after the frontmatter.

## Rules

- **Title the goal, not the products.** The title states the goal in plain language, with no product names: `Serve a site with cached content and a protected checkout`. The reader searches for the outcome.
- **State the problem first.** One or two sentences, then the products and their resources by role: "You configure caching on the application and request filtering on the firewall."
- **Order by the workflow, never by the product catalog.** A page organized product-by-product is a bundle of how-tos wearing one title.
- **Name the product at each stage.** An unqualified interface name is ambiguous once the page crosses products.
- **Stay a how-to.** The products are the route, not the subject. A paragraph of product background belongs to a concept page; link it.
- **Follow the step rules.** Steps follow [Procedures](/en/documentation/style-guide/writing/procedures/), and every procedure ends with its outcome sentence.
- **Show the output after every command.** The reader sees what success looks like before the next step depends on it. The rule is in [Procedures](/en/documentation/style-guide/writing/procedures/).
- **Commit to one recommended path.** Alternatives go in one aside, never as forks in the steps.
- **Verify the whole path.** These guides fail in the seams, so check the outcome and not the last step.
- **Link the neighbors.** Each product's how-tos and reference page, from the body or from `## Next steps`.

## Examples

This excerpt shows the problem opening, the prerequisites, and the first workflow stage:

```mdx
Each route of a storefront needs a different rule. The catalogue can answer from cache, the cart must not, and the checkout needs a rate limit. You configure caching on the application and request filtering on the firewall.

## Prerequisites

- An application that serves the store
- A firewall

## Turn on Application Accelerator

The **Bypass Cache** behavior requires **Application Accelerator** enabled for the application.

To enable it:

1. Access [Azion Console](https://console.azion.com/) > **Applications** > **your application**.
2. In the **Main Settings** tab, go to the **Modules** section.
3. Turn on the **Application Accelerator** switch.
4. Select **Save**.

Application Accelerator is enabled for the application.
```

## Related

- [How-to guides](/en/documentation/style-guide/content/how-to-guides.md): The base form this kind applies.
- [Architecture pages](/en/documentation/style-guide/content/architecture.md): The page that describes the design this guide builds.
- [Information architecture](/en/documentation/style-guide/content/information-architecture.md): Where a guide that belongs to no product section lives.
- [Choose a content type](/en/documentation/style-guide/content/choose-a-content-type.md): The full catalogue of page kinds.
