> For the complete documentation index, see [llms.txt](https://docs.immedio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.immedio.io/immedio-forms/settings/salesforce.md).

# Salesforce連携設定

Salesforceとの認証連携を設定します。リードをSalesforceに転送する際に使用します。

Salesforceとの認証連携を行い、フォーム送信データをSalesforceの名刺オブジェクトに転送できるようにします。

## 設定項目一覧

| 項目       | 説明                             |
| -------- | ------------------------------ |
| 認証       | Salesforce アカウントとの OAuth 認証を行う |
| Sandbox  | Sandbox 環境への接続を切り替える           |
| 認証状態     | 「認証済」または「ユーザー情報の取得に失敗」の状態表示    |
| 連携ユーザー情報 | 認証中のSalesforceユーザー名・メールアドレス    |

## 各項目の詳細

### 認証

「Salesforceに連携する」ボタンから OAuth 認証画面に遷移し、Salesforce 側で許可することで連携が完了します。

### Sandbox

Salesforce の Sandbox 環境に接続する場合は、認証前に「Sandbox」のチェックを入れてください。本番環境を使用する場合は外したままで結構です。

### 認証状態 / 連携ユーザー情報

認証完了後、認証に使用したSalesforceユーザーの名前とメールアドレスが表示されます。トークンの失効やSalesforce側で権限が削除されると「ユーザー情報の取得に失敗」と表示され、再認証が必要です。

## 注意事項

* 設定の編集はオーナー権限のユーザーのみ可能です
* 認証に使用するSalesforceユーザーには、リード・取引先責任者の作成・編集権限が必要です
* Salesforce側でのライトニングアプリのインストール・権限セット付与等の事前準備が必要です

## 関連ガイド

* [Salesforceとの連携を設定する](/immedio-forms/guides/salesforce-integration/setup.md)（Salesforce側の初期設定手順）
* [マッピング設定を行う](/immedio-forms/guides/salesforce-integration/mapping.md)
* [転送設定を行う](/immedio-forms/guides/salesforce-integration/transfer-settings.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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.immedio.io/immedio-forms/settings/salesforce.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
