> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/en-us/pre-basic/settings/data-settings/siyuan.md).

# SiYuan Notes Configuration Guide

Supports exporting topics and messages to SiYuan Notes.

## Step 1

Open SiYuan Notes and create a notebook

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-5a9bed019140d8b37239abda1ded80484d227b53%2Fsiyuan-image-1.png?alt=media" alt=""><figcaption><p>Click New Notebook</p></figcaption></figure>

## Step 2

Open the notebook settings and copy `Notebook ID`

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-7925fac1ad188374b550ebcb9fcb9b96f84fe007%2Fsiyuan-image-2.png?alt=media" alt="" width="400"><figcaption><p>Open notebook settings</p></figcaption></figure>

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-180b170fa69175058611153cbb25d1dd1af3269f%2Fsiyuan-image-3.png?alt=media" alt=""><figcaption><p>Click the Copy Notebook ID button</p></figcaption></figure>

## Step 3

Copy the notebook ID and fill it into the Cherry Studio settings

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-69887dbdde6096cb45d7db33e569f7660fd4e65d%2Fsiyuan-image-4.png?alt=media" alt=""><figcaption><p>Enter the notebook ID into the data settings</p></figcaption></figure>

## Step 4

Enter the SiYuan Notes address

* **Local**\
  Usually `http://127.0.0.1:6806`
* **Self-hosted**\
  Your domain name `http://note.domain.com`

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-64064f7b4f4ddbaede1ea981dd0eca2441d08fa8%2Fsiyuan-image-5.png?alt=media" alt=""><figcaption><p>Enter your SiYuan Notes address</p></figcaption></figure>

## Step 5

Copy SiYuan Notes `API Token`

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-e3a307674a34887f2f873e51c724bb797b68b5b4%2Fsiyuan-image-6.png?alt=media" alt=""><figcaption><p>Copy the SiYuan Notes token</p></figcaption></figure>

Fill it into the Cherry Studio settings and click Check (the configuration items are all on the page in Step 4 above).

## Step 6

Congratulations, the SiYuan Notes configuration is complete ✅ Next, you can export Cherry Studio content to your SiYuan Notes.

<figure><img src="https://1658303467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-9ecf7f3c1da9c3e02a0541ef858934c888254616%2Fsiyuan-image-9.png?alt=media" alt=""><figcaption><p>View export result</p></figcaption></figure>

***

### Get help and submit feedback

If you encounter any questions, bugs, or have suggestions for feature improvements during configuration or use, please refer to [Feedback and Suggestions](/docs/en-us/question-contact/suggestions.md) for the official channels provided.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cherryai.com.cn/docs/en-us/pre-basic/settings/data-settings/siyuan.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
