Skip to main content
Agent permissions control which users can access which agents, so each user only sees the agents meant for their role, department or plan. Manage them in Agents → Permissions. A user can reach an agent in three ways:
  • The agent is public
  • The user has a permission linked to the agent
  • An access rule grants the user such a permission

Portal Access and Agent Permissions

Assigning permissions to a user determines which agents they can use. It does not, by itself, authorize that user to enter the client portal. When users sign in to the client portal with an AGO account, non-administrator accounts must also match an active email access rule: a specific email address, their email domain, or the wildcard domain *. Admin accounts are exempt from this portal entry check. For example, a user can have the seller permission and still receive 401 Unauthorized when opening the portal if no active email rule matches them. A direct agent assignment does not replace that rule either. This portal entry check is separate from the agent access checks below and from widget authentication.

Public Agents

Toggle Make this agent public in an agent’s Permissions tab to let every user call it — including non-authenticated users — regardless of permissions or rules. Use this for agents meant to be available to everyone (for example, a general help agent) instead of linking the agent to every permission. The public-agent shortcut requires an active agent. Admins can access inactive agents for testing, and an agent assigned as a permission’s default can remain accessible through that permission. To withdraw access, also remove default-agent assignments; do not rely on the status alone.

How Access Is Determined

Admins can access any existing agent. Other users can call an active public agent or an agent available through one of their active permissions. A missing agent returns 404 Not Found; an existing agent the user cannot access returns 403 Forbidden. For each active permission, AGO includes its active linked agents and its configured default agent. Direct user assignments and agents from matching email/domain rules supplement a permission group only when that group already has a default agent, an active linked agent, or an active public agent. A direct agent assignment or an agent-only email rule is therefore not sufficient for a user with no active permissions. For predictable access, grant an active permission and link the intended agents to it. Permissions control customer-facing agents and content. They do not grant admin, viewer, or organization-management roles.

Permissions and User Types

Permissions (also called “user types” or profiles) group users with similar access needs. Each permission can be linked to several agents, and a user can have several permissions.

Permission Settings

The permission editor also has Ticket Instructions and Home Page tabs to customize ticket creation and the portal home page for this group.

Default Agent Selection

When the user does not explicitly select an agent, AGO uses the selected permission if it belongs to the user. If no permission was selected, AGO chooses the user’s highest-priority active permission. For that permission:
  1. Use its configured default agent, if present.
  2. Otherwise, use its first active linked agent, ordered by display order and then name.
  3. If neither exists, no default agent is resolved from that permission. AGO does not then fall back to an agent from an access rule.
If a supplied permission cannot be resolved, AGO checks the available permission groups for an agent instead. Configure a default on each permission to make the intended choice explicit.

Configuring Permissions

Creating Permissions

  1. Navigate to Agents → Permissions
  2. Click Create Permission, or open an existing permission
  3. Set the name, priority and default agent
  4. Click Save
  5. Open each agent the permission should give access to in Agents, and select the permission in its Permissions tab

Granting Permissions with Rules

  1. Open Agents → Permissions.
  2. Choose Email-based permissions for email/domain rules, JWT-based permissions for JWT claims, or API-based permissions for data returned by your configured API.
  3. Create a rule and select the permissions it grants.
  4. Link the intended agents to those permissions and test with a non-admin account.
Open Configuration → Users and select a user to see the permissions on their profile. The profile shows permissions but does not edit them; grant permissions with rules.

Access Control Rules

Matching rules add permissions cumulatively; a higher-priority rule does not revoke grants from another matching rule. Link agents to the granted permissions rather than relying on agents selected on an email rule. These rules determine agent access after entering the application. They do not replace the portal entry check described above. See Access Control Examples for JWT rule setup.

Widget Permission Override

When you embed the widget, you can request a permission for the user by its name:
With the SDK, pass the permission option instead; with the SDK API, send the X-Widget-Permission header. The permission is applied only if it is marked Public in its settings, so you decide which permissions the page can request.

Preview a Permission

Users with several selectable permissions can switch between them from the chat. See Preview a User Type.

API Reference

For programmatic access to permissions and user management, see:

Best Practices

Permission Design

  • Group by role: Create permissions matching organizational roles
  • Use meaningful priorities: Higher priority for more common roles
  • Set defaults thoughtfully: Default agent should serve most use cases

Access Management

  • Prefer permissions over direct links: Easier to maintain at scale
  • Use access rules for dynamic access: When access depends on user attributes
  • Audit regularly: Review who has access to which agents

Troubleshooting Access

  • Test with non-admin accounts: Check the actual authentication and permission rules
  • Check all pathways: A user might have access through unexpected paths
  • Review rule conditions: Access rules can grant unexpected access

Troubleshooting

A non-administrator signing in to the portal needs an active email access rule in addition to their agent permissions. Assigning a permission in the user’s profile does not create that rule.
  1. Open Agents → Permissions → Email-based permissions.
  2. In Specific Emails, add an active rule for the user’s exact sign-in email, or verify that an active domain rule already covers them.
  3. Save the rule and retry opening the portal. A new rule can take up to a minute to apply.
Use a specific email rule when granting access to one person. Permissions determine which agents they can use once admitted to the portal.
Problem: Agent doesn’t appear in user’s list.Solutions:
  1. Verify agent is active (not disabled)
  2. Check user’s permissions include the agent
  3. Review which permissions the matching access rules grant
  4. Test with a non-admin account using the intended authentication method
Problem: User sees unexpected agent as default.Solutions:
  1. Check permission priorities (highest number wins)
  2. Verify the default agent is set on the correct permission
  3. Check whether the user has a higher-priority permission
Problem: User has access to agents they shouldn’t see.Solutions:
  1. Audit user’s permissions for unnecessary links
  2. Review access rules for overly broad conditions
  3. Check the agents selected on matching email rules
  4. Consider using more restrictive permissions
Problem: User matches rule but can’t access agent.Solutions:
  1. Verify rule condition syntax is correct
  2. Check rule is active (not disabled)
  3. Verify the rule grants an active permission linked to the agent
  4. Test rule conditions with actual user attributes