# Export templates

Through the Export Templates setting, you can upload Word (DOCX) documents that can be used as templates for reports exported from ClauseBuddy.&#x20;

{% hint style="info" %}
Currently, this only works for reports of automatic reviews and for the summaries generated through the Summaries module. But additional reports may be added in the future.&#x20;
{% endhint %}

## Why custom templates?

Custom templates allow you to use your own house style for the reports, e.g. with your chosen fonts, colors, front page, and so on.&#x20;

As a law firm or legal service provider, you may even want to use different templates for different clients you work for.

## Uploading a new file

Uploading a new template is easy: just select (or drag & drop) the Word-file into the area at the top.&#x20;

<figure><img src="/files/qmMKEOFPtbEGHW7kj3zd" alt=""><figcaption></figcaption></figure>

You can then set a title (this will be shown in the export dropdown-lists of your end-users) and the module for which this template is intended (currently either reviewing or summarisation).

<figure><img src="/files/FEYo59ojkG6EkWDRPUeF" alt=""><figcaption></figcaption></figure>

## Rules to respect

Uploading is easy — the hard work is in configuring the contents of the MS Word file you upload. What needs to be done, differs by the module for which the template is configured, but essentially ClauseBuddy will insert certain content with a specific MS Word style.&#x20;

For example, in the templates for reviewing reports, ClauseBuddy expects the titles of the requirements to have style "CBReqTitle", while the titles of extracted data must be in style "CBDataTitle".

The exact names of the styles are described in the samples you can download through the *Download samples* button in the upper right corner:&#x20;

<figure><img src="/files/MHKSWhZEbJklZGuF7pNq" alt=""><figcaption></figcaption></figure>

Those samples provide detailed explanations of what you are supposed to do. Probably the easiest approach is to:&#x20;

* **If you don't have very strict house style rules:** start from the sample without explanations, and customise it to your needs by tweaking the styles in MS Word.&#x20;
* **If you have a strict house style, or you have existing templates to match:** modify them so that they include the right MS Word styles.&#x20;

{% hint style="success" %}
Tip: copy/pasting paragraphs with the "CB..." stylenames from the provided samples into your own document, is usually sufficient to create those styles within the target document.
{% endhint %}

{% hint style="success" %}
Tip: We are aware that the intricacies of MS Word styling are terra incognita for many lawyers, but we have entire [MS Word courses](https://www.clausebase.com/msword/word-for-lawyers) on our website.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.clausebuddy.com/admin/export-templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
