> 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). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# 共有とソーシャル

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

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

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

「 **+ アカウントを追加** 」をクリックし、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%2Fgit-blob-2b939c06eb06ed0a8846cf3914ce7876d2fa7ccd%2F26_01_23_social_accounts%402x.png?alt=media" alt="Social accounts settings in Site customization"><figcaption></figcaption></figure>

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

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

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

サイトに複数の [サイトセクション](https://gitbook.com/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.
