Overview
Service accounts are dedicated API users that provide controlled access for agents and automations. Unlike regular user accounts, service accounts cannot be used for interactive login—they exist solely to execute automated tasks with specific, managed permissions. When you assign a service account to an automation or agent:- The automation or agent runs with the exact permissions granted to that service account
- Data access policies assigned to the service account determine which records it can access
- All actions are logged under the service account in the Activity Log, providing a clear audit trail
Create a Service Account
- Go to your Elementum organization and select the app where you want to create the service account
- In the app subnavigation, navigate to Security → Service Accounts
- Click Create Service Account
- Fill in the required information:
- First Name and Last Name: The service account’s display name
- Purpose: A description explaining the intended use—this helps other administrators understand what the service account was created for
- Profile Photo (optional): An avatar image that appears in agent conversations and activity logs
- Save the service account, then configure its permissions and data access
Configure Permissions
After creating a service account, configure its permissions from the service account row.Roles
The Roles tab controls what actions the service account can perform within the app. Service accounts follow the same role-based permission model as regular users.- Click the More icon next to the service account
- Select Permissions, then navigate to the Roles tab
- Select the roles that grant the permissions your automation or agent needs
- Save your changes
- Common Role Scenarios
- Best Practices
- Automation Service Account: Assign roles with permissions for Create Records, Update Records, and Run Automations
- Agent Service Account: Assign roles with permissions for Records, Comments, Attachments, and Agent access
- Read-Only Service Account: Assign roles with only Read permissions for reporting or monitoring automations
User/Group Access
The User/Group Access tab controls which users and groups are authorized to use this service account when configuring agents or automations.- Click the More icon next to the service account, then select Permissions
- Navigate to the User/Group Access tab
- Add individual users or user groups who should be able to use this service account
Configure Data Access
Service accounts follow the same data access model as regular users. To grant data access:- Navigate to App Settings → Security → Data Access
- Create a new policy or edit an existing one
- In the Users and Groups section, add the service account
- Define which records the service account can access based on your security requirements
Elementum will warn you when configuring agents and automations if your selected service account is missing required permissions or data access.
Broad Access for Automations
Broad Access for Automations
An automation that processes all records in an element needs a policy with no conditions (access to all records) assigned to the specific service account.
Scoped Access for Agents
Scoped Access for Agents
An agent that should only access records in a specific status or category needs a policy with matching conditions (e.g.,
Status is Open).Cross-App Access
Cross-App Access
An automation that works across multiple apps needs data access policies configured in each app.
Assign to Automations and Agents
When creating or editing an automation or agent, you are prompted to select a service account. The process is similar for both:- Automations
- Agents
- Navigate to Workflow → Automations
- Create or edit an automation
- Select the service account that should execute the automation
- Verify the service account has the necessary roles and data access for the automation’s actions
Troubleshooting
Automation/Agent Can't Access Records
Automation/Agent Can't Access Records
Symptom: Automation fails or agent reports no records found
- Verify data access policies include the service account
- Check that policy conditions allow access to the expected records
- Ensure policies exist in all apps/elements the automation needs
Permission Denied Errors
Permission Denied Errors
Symptom: Actions fail with permission errors
- Review roles assigned to the service account
- Verify the required permissions are included in assigned roles
- Check if the specific action requires additional permissions
Can't Select Service Account
Can't Select Service Account
Symptom: Service account doesn’t appear in dropdown when configuring an automation or agent
- Verify you have been granted access in the User/Group Access tab
- Check if the service account was created in the correct app
- Contact the service account owner to request access
Wrong Identity Appearing
Wrong Identity Appearing
Symptom: Actions show a different user than expected in Activity Log
- Confirm the service account is properly assigned to the automation/agent
- Check for any “Run as current user” settings that might override the service account
- Verify the automation/agent configuration was saved after assigning the service account
Related Features
Roles & Permissions
Service accounts use the same role-based permission system as regular users
Data Access
Configure data access policies to control which records service accounts can access
Automations
Assign service accounts to automations for controlled, auditable execution
Activity Log
All service account actions are tracked in the Activity Log