Beam Help — independent expert support for Zoho. This article explains how to give each Zoho CRM user their own authentication for Connections and how to run CRM API calls under the currently logged-in user's permissions, with practical steps for Connections, Functions, Client Scripts, and basic user setup[1][5][7].
Why this matters
Use user-based authentication when integrations must act on behalf of individual CRM users so they see only the records and resources they are permitted to access[1]. Running APIs with the logged-in user's permissions ensures Deluge Functions, Client Scripts, and Widgets respect each user’s CRM profile and module access[5]. Beam Help provides guidance only and is not official Zoho support[1][5].
Step-by-step
Step 1. Decide connection scope: shared vs user-based. When you create a Connection, set the Credential of Login User option to Yes if each CRM user must authenticate with their own account, or No to keep a single admin-authenticated connection[1].[1]
Step 2. Create the Connection in Zoho CRM (Connections page). While creating the Connection, choose the option for Credential of Login User according to whether you need user-specific access or a shared admin connection[1].[1]
Step 3. Confirm CRM profile and module permissions for users. Grant the CRM profiles and module permissions users need separately; configuring scopes on a Connection does not automatically give users CRM permissions[1].[1]
Step 4. Add or verify users in CRM so they can authenticate. Use Setup > General > Users to add new users, assign Role and Profile, and send invitations so each person can accept and sign in with their Zoho account[7].[7]
Step 5. Use user: LOGINUSER in Deluge invokeAPI to run functions as the logged-in user. In Deluge functions call invokeapi with user: LOGINUSER (for example, a GET to /crm/v8/Leads?fields=Last_Name,Email) so the call uses the invoking user’s CRM permissions[5].[5]
Step 6. Meet component-specific requirements for user-scoped API calls. For Deluge functions use invokeAPI; for Java, NodeJS, and Python functions use ZRC with the multi-language guidance; for REST-enabled functions configure OAuth 2.0 and call the v8 API version[5].[5]
Step 7. Enable user-based access for Client Scripts and Widgets. Use ZRC with v8 or later APIs so Client Scripts and Widgets run with the logged-in user’s permissions where supported[5].[5]
Step 8. Test as different users. Have two CRM users with different profiles trigger the Connection and a function or script that calls CRM data and verify each only sees data allowed by their CRM permissions[1][5].[1][5]
Common pitfalls
- Users assume Connection scopes change CRM profiles: Connection scopes do not grant CRM module access; you must set profile permissions separately[1].[1]
- Functions calling REST APIs without OAuth or v8: if a function has REST API access enabled, you must configure OAuth 2.0 and use v8 to ensure user-scoped behavior[5].[5]
What to check
- Each relevant Connection was created with Credential of Login User set correctly for your use case[1].[1]
- Users have the correct Role and Profile and accepted their CRM invitations so their permissions are in effect[7].[7]
- Deluge functions use invokeapi with user: LOGINUSER or multi-language functions use ZRC/OAuth and v8 per component requirements[5].[5]