> 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/zhong-wen-fan-ti/pre-basic/settings/data-settings/siyuan.md).

# 思源筆記配置教程

支援將話題、消息匯出到思源筆記。

## 第一步

打開思源筆記，建立一個筆記本

<figure><img src="https://2742912793-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>撳「新增筆記本」</p></figcaption></figure>

## 第二步

打開筆記本設定並複製 `筆記本 ID`

<figure><img src="https://2742912793-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>打開筆記本設定</p></figcaption></figure>

<figure><img src="https://2742912793-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>撳複製筆記本 ID 按鈕</p></figcaption></figure>

## 第三步

複製筆記本 ID，填寫到 Cherry Studio 設定入面

<figure><img src="https://2742912793-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>將筆記本 ID 填寫到數據設定入面</p></figcaption></figure>

## 第四步

填寫思源筆記地址

* **本機**\
  通常係 `http://127.0.0.1:6806`
* **自行部署**\
  你嘅域名 `http://note.domain.com`

<figure><img src="https://2742912793-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>填入你嘅思源筆記地址</p></figcaption></figure>

## 第五步

複製思源筆記 `API Token`

<figure><img src="https://2742912793-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>複製思源筆記令牌</p></figcaption></figure>

填入 Cherry Studio 設定入面，再撳檢查（配置項都喺上面第四步嗰頁）。

## 第六步

恭喜你，思源筆記嘅配置已經完成咗 ✅ 跟住就可以將 Cherry Studio 內容匯出到你嘅思源筆記入面喇

<figure><img src="https://2742912793-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>睇返匯出結果</p></figcaption></figure>

***

### 攞幫助同提交意見

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改善建議，請參考 [反饋與建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提供嘅官方渠道。


---

# 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/zhong-wen-fan-ti/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.
