> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Up Spaces and Reference a Live Dashboard

> Enable Spaces in an existing Xpert Community deployment, create a writing page and use a published dashboard in a team review.

Create a team review in Spaces so that readers can open the corresponding Live Dashboard version from the page. This tutorial starts with an initialized, running Xpert Community deployment. You need a model that supports tool calls and an account that can create projects and publish Assistants.

## 1. Load Spaces and the Markdown editor

Sign in as a **Super Admin** in the **Default** tenant and open **Settings → Plugins**. Check that both system plugins below are loaded. If either is missing, choose **Install Plugin → NPM** and enter its package name and version separately.

| NPM package | Example version | Purpose |
| - | - | - |
| `@xpert-ai/plugin-spaces` | `0.4.0` | Provides the Spaces view and Assistant writing tools |
| `@xpert-ai/plugin-markdown-editor` | `0.2.1` | Opens and edits Markdown pages in Spaces |

Choose plugin versions compatible with your API and Web deployment. If a plugin is pending restart after installation, restart the API during a maintenance window. Return to **Settings → Plugins** and confirm that both plugins are loaded.

## 2. Publish a writing Assistant and connect it to a project

1. Create or edit an Assistant and select a model that supports tool calls. Enable **Collaborative space** under **Assistant capabilities** during creation or **Settings → Capabilities** for an existing Assistant, then publish it.
2. Create a project of type **Collaborative space**, such as Regional Sales Review. The project owner or administrator can use **Manage experts** to connect the published writing Assistant and [assign roles](https://docs.xpertai.cn/en/ai/projects/setup/members-and-permissions.md). Team members who will modify pages need edit access.
3. Open a conversation with the writing Assistant from the project. Hover over **Open views** and select **Spaces** from the list. To confirm that the Markdown editor opens and saves, create a blank page using the [quickstart](https://docs.xpertai.cn/en/ai/knowledge/spaces/quickstart.md).

## 3. Generate and publish a sample dashboard

Follow the [Live Dashboard installation guide](https://docs.xpertai.cn/en/ai/live-dashboard/install.md) to install and initialize the app. Confirm that the file data source and Sandbox are available.

1. Use **Manage experts** to connect the published Live Dashboard Assistant and open a conversation with it from the project.
2. Send “Use the Regional sales · Starter recipe to create a standard dashboard from the demo data. Keep the region filter and refresh controls and save it as a draft.”
3. Open the draft from the conversation resource card. Leave **Region** blank or enter `East` or `West`, then choose **Apply filters** after each change. All regions total CNY 50,000, East totals CNY 12,000, and West totals CNY 18,000. Choose **Refresh** and confirm the current filter stays applied.
4. When the results are correct, choose **Publish draft** from the dashboard toolbar and record the version number. You can also use an accessible published version you already have.

## 4. Add the dashboard reference to the review page

1. Return to the writing Assistant's **Spaces** view and choose **New → Add materials**. On the **Assistant artifacts** tab, select the dashboard and its published version. Set **Add as** to **Add reference**, then click **Add to space**.
2. In the Spaces list, open the entry whose source is **Artifact reference**, check its title and version, and copy the dashboard page address from the browser.
3. Choose **New → Page** and create a page called Regional Sales Review. Add the dashboard link and record the version, data retrieval time, filter and unit alongside your observations and follow-up checks. For example, “All regions total CNY 50,000. East shows CNY 12,000. At the next review, clear the filter and refresh, then verify the dashboard's retrieval time and total.”
4. Wait for **Saved to project file**, then reopen the page and check its text and dashboard link. To get help with the write-up, use **Review in Assistant** to request a proposed edit and decide whether to accept it in the review panel. See [Writing with Assistants](https://docs.xpertai.cn/en/ai/knowledge/spaces/assistant-writing.md).

The reference pins a published dashboard definition version. Refreshing the dashboard retrieves currently accessible data, while the review page keeps the figures you recorded. Team members need access to both the space and the source to open the reference. To use a newer dashboard version for the next review, change the version under **Versions and sharing** and verify the version, figures and retrieval time in the page. See [Collecting artifacts](https://docs.xpertai.cn/en/ai/knowledge/spaces/organizing-content.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.