> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/manage-your-site/customization/sharing-and-social.md).

# 共有とソーシャル

サイトのソーシャルアカウントメタデータと共有オプションをカスタマイズします

### ソーシャルアカウント

サイトのメタデータとフッターにソーシャルアカウントを追加できます。 **共有** カスタマイズメニューのタブ。

クリックして **+ アカウントを追加** そして、X、GitHub、LinkedIn、Discord、Bluesky など、含まれているオプションの一覧からアカウントの種類を選択します。このメニューでソーシャルアカウントを追加すると、サイトのメタデータにも追加されます。

各ソーシャルアカウントごとに、メタデータに影響を与えずに、ドキュメントサイトのフッターでの表示をオンまたはオフに切り替えられます。

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F8dGUWBpVMVNID1jc29gg%2Fsocial_accounts%402x.png?alt=media&amp;token=24be67aa-c71b-4f15-8625-180c397a6d3c" alt="Social accounts settings in Site customization"><figcaption></figcaption></figure>

### ソーシャルプレビュー

ここでは、サイト用のカスタムソーシャルプレビュー画像をアップロードできます。これにより、サイトの `og:image` をアップロードした画像に設定します。また、Slack や X など OpenGraph 画像に対応している任意のプラットフォームや製品でサイトのリンクが共有されたときに表示されます。

ソーシャルプレビューを追加しない場合、GitBook がテーマカラー、ページタイトル、説明を使って自動的に生成します。

サイトに複数の [サイトセクション](/docs/documentation/ja-gitbook-documentation/manage-your-site/site-structure/site-sections.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://gitbook.com/docs/documentation/ja-gitbook-documentation/manage-your-site/customization/sharing-and-social.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.
