コネクタの作成、使用、デプロイを終えたので、コネクタを他の Looker Studio ユーザーと共有してみましょう。
コネクタ ギャラリーでコネクタを公開しない場合、そのコネクタのユーザーには、Apps Script プロジェクトへの読み取りアクセス権が必要になります。読み取りアクセス権がないと、Looker Studio アカウントはスクリプトの読み取りと実行ができません。スクリプトのリンクをユーザーと共有する必要はありません。ユーザーにスクリプトへの読み取りアクセス権が付与されていることを確認してください。
アクセス権を付与するには、プロジェクトのリンク共有を有効にすることをおすすめします。この方法で共有した場合、スクリプトはユーザーの Google ドライブに表示されません。
少数のユーザーとコネクタを共有したい場合は、スクリプトを特定のユーザーと共有することもできます。この場合、スクリプトはユーザーの Google ドライブに表示され、ユーザーはスクリプトに直接アクセスできます。この方法は、スクリプトを特定のユーザー グループと共有する必要がある場合にのみ使用することをおすすめします。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eTo enable users to use your connector, you must either publish it in the Connector Gallery or grant them read access to your Apps Script project.\u003c/p\u003e\n"],["\u003cp\u003eSharing the Apps Script project using link sharing allows users to utilize the connector without it appearing in their Google Drive.\u003c/p\u003e\n"],["\u003cp\u003eFor limited user access, share the script with specific individuals, granting them direct access within their Google Drive.\u003c/p\u003e\n"],["\u003cp\u003eConnector source code should exclude sensitive information like secrets or API keys; utilize the Properties Service for secure storage and retrieval.\u003c/p\u003e\n"],["\u003cp\u003eWidespread connector distribution can be achieved through publishing in the Connector Gallery and/or sharing direct links.\u003c/p\u003e\n"]]],[],null,["# Share a Community Connector\n\nNow that you have [built](/looker-studio/connector/build), [used](/looker-studio/connector/use), and [deployed](/looker-studio/connector/deploy) your\nconnector, you may want to share it with other Looker Studio users. \n\nIf you do not [publish your connector](/looker-studio/connector/publish-connector) in the\n[Connector Gallery](https://lookerstudio.google.com/data), then any user of the connector will\nrequire read access to your Apps Script project. Without read access their\nLooker Studio account will not be able to read and execute the script. You do\nnot need to share the script link with the users, only ensure they have read\naccess to the script.\n\nThe recommended way of providing access is to\n[enable link sharing for the project](https://support.google.com/docs/answer/2494822#link_sharing). When shared this\nway, the script will not show up in your users' Google Drive.\n\nIf you only want to share your connector with a selected group of users, you can\n[share the script with specific people](https://support.google.com/docs/answer/2494822#specific_people). When shared\nthis way, the script will show up in your users' Google Drive and they will be\nable to access it directly. This approach is only recommended if you want to\nshare the script with a selected group of users.\n| **Key Point:** If you don't share your script with your users, they won't be able to use your connector unless it is published in the [Connector Gallery](https://lookerstudio.google.com/data).\n| **Caution:** As a best practice you should not include any secrets or API keys in connector source code. Instead, rely on the [Properties Service](/apps-script/reference/properties/properties-service) to store and retrieve secrets required by the connector.\n\nDistribute\n----------\n\nTo distribute your connector to all Looker Studio users, you can request to be\n[published](/looker-studio/connector/publish-connector) in the\n[Looker Studio Connector Gallery](https://lookerstudio.google.com/data) and/or\n[share a direct link](/looker-studio/connector/direct-links)."]]