> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/connectors/notes/kintone-vs-kintone-oauth.md).

# kintoneコネクタとkintone(OAuth)コネクタの違い

## 概要

Anyflow Embedにはkintoneに関する2つのコネクタが存在します。

このページでは2つの違いについて説明します。

<figure><img src="https://files.readme.io/a378ed0ccc7aa54fb6c6dbc0b965393fc14432b09b9d574d889a35d355463899-image.png" alt="" width="375"><figcaption></figcaption></figure>

## kintoneコネクタ

kintoneコネクタでは、認証はkintoneの**アプリ単位**で行います。\
したがって、利用できるAPIもアプリ単位のAPIに限られます。

認証に必要な情報は以下のとおりです。

* アプリID：kintoneで作成したアプリのIDを入力します
  * [kintoneアプリの作成方法](https://jp.cybozu.help/k/ja/user/create_app/tutorial.html)
* APIトークン：上記アプリの設定画面から作成したAPIトークンを入力します
* サブドメイン：kintoneアカウントに割り振られたサブドメインを入力します

<figure><img src="https://files.readme.io/6faed5b689729b04f0645ca457b6c3042be93f5489a79bf0377a82c492f95c55-image.png" alt="" width="375"><figcaption></figcaption></figure>

## kintone(OAuth)コネクタ

kintone(OAuth)コネクタでは、認証はkintoneの**アカウント単位**で行います。\
したがって、利用できるAPIはアプリ単位に限定されず幅広いAPIを利用できます。

認証に必要な情報は以下のとおりです。

* クライアントID：kintoneで作成したOAuthクライアントのIDを入力します
  * [kintone OAuthクライアントの作成方法](https://cybozu.dev/ja/common/docs/oauth-client/add-client/)
* クライアントシークレット：kintoneで作成したOAuthクライアントのシークレットを入力します

<figure><img src="https://files.readme.io/a24523479a8572198c1aeef0aca772f5babc76d32ee6f3c33478f22c94864fbd-image.png" alt="" width="375"><figcaption></figcaption></figure>

## 比較

上述の通り、2つのコネクタでは認証の範囲が異なるため、利用できるAPIも異なります。

kintoneコネクタでは1つのアプリに対してしか処理を実行できず、\
kintone(OAuth)コネクタでは複数のアプリに対しても処理を実行できます。

例えば、[複数のアプリの情報を取得する（GET /k/v1/app.json）](https://cybozu.dev/ja/kintone/docs/rest-api/)のようなAPIは複数のkintoneアプリを横断したAPIとなりますが、kintoneコネクタではこのAPIを実行できず、kintone(OAuth)コネクタでは実行できます。

ただしkintone(OAuth)ではエンドユーザーがOAuthクライアントを作成する必要があるため、操作の難易度が若干上がります。


---

# 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-embed.anyflow.jp/connectors/notes/kintone-vs-kintone-oauth.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.
