Skip to main content

Connect Ask Lex to HaloPSA

Configure Halo OAuth, connect each agent’s account and choose the tools Ask Lex can use.

Connect HaloPSA to Ask Lex so your team can use Halo’s available tools during a conversation. Each person signs in with their own Halo agent account, and access depends on the Halo application permissions, the agent’s permissions and the tools enabled in Lexful.

This guide covers the Ask Lex connector. To sync customers, contacts, sites and assets into Lexful, use the separate HaloPSA data-source guide.

Before you start

You need access to configure Halo’s MCP server and API applications, permission to manage Lexful connectors, and a Halo agent account to sign in. Decide whether your team needs read-only queries or actions that change tickets before choosing permissions.

1. Get your Halo MCP server URL

  1. In Halo, open Configuration → AI → MCP Server.

  2. Check that the MCP endpoint is enabled, then copy its server URL.

The URL format is https://<tenant>.halopsa.com/api/mcp. Use the complete URL shown by your own Halo tenant.

2. Register the OAuth application in Halo

  1. In Lexful, switch to Platform and open Integrations → Connectors. Start a new connector, choose Custom MCP server, enter a recognizable name and the Halo server URL, and select OAuth (each user signs in).

  2. Copy the exact Redirect URL displayed in Lexful’s connector editor. Keep it available for the Halo application.

  3. In Halo, open Configuration → Integrations → Halo API → View Applications and create an application for Lexful.

  4. Choose Authorisation Code (Native Application), set Client Secret to Do not use, and configure agent sign-in.

  5. Paste the exact redirect URL copied from Lexful into Halo’s Login Redirect URL.

  6. Set the application permissions for the tasks you intend to allow, save the application and copy its Client ID.

The Client ID is required for this Halo setup. Although Lexful labels the field optional for connectors generally, Halo’s metadata does not advertise dynamic client registration. Register the application in Halo first and supply its Client ID in Lexful.

3. Connect your account and select tools

  1. Return to the Lexful connector editor and paste the Halo Client ID. In Scope (optional), enter the space-separated scopes for the tasks you need, using the examples below. Save the connector before starting sign-in.

  2. Select Connect account and complete Halo sign-in with your agent account.

  3. Reopen the connector and select Refresh tools.

  4. Review the discovered tools, select only those you intend to allow and save the changes.

A connected account and a populated tool list confirm that authorization and discovery worked. The available tools can vary by Halo tenant and configuration; use the list returned by your own server.

Choose read-only or ticket-write access

Configure these controls together:

  • Halo application permissions and requested OAuth scopes control the API access requested and granted for the connection. Enter the requested scopes in Lexful’s Scope (optional) field; the Halo application must also allow them.

  • The signed-in agent’s permissions govern their normal ticket access, including team membership and ticket visibility. Requesting a scope does not assign a Halo role or team.

  • Lexful’s tool selection determines which discovered tools Ask Lex can use through this connector.

For ticket-reading tools, start with read:tickets offline_access. For reading and updating tickets, use read:tickets edit:tickets offline_access. These are ticket-focused examples, not a complete scope list for every Halo tool. Add the relevant provider scopes if your selected tools also need other resources. offline_access requests refresh-token access so the connection can renew authorization without a new sign-in each time. See Halo’s OAuth scope guidance.

Use only the access your team needs. Halo’s all scope is broad; enabling fewer tools in Lexful does not narrow the OAuth grant. Check Halo’s MCP tool configuration as well: Halo documents that Include all system tools can make tools available regardless of an agent’s permissions. Runbooks may use a separate execution identity. Do not assume the scope field alone enforces ticket visibility. See Halo’s MCP configuration guide.

Already connected? Changing or clearing the scope in Lexful signs every user out of that connector when you save. Each person must reconnect their Halo account. Refreshing tools alone is not enough. Leaving the field blank relies on provider-discovered scopes rather than an explicit request; for this Halo setup, enter the scopes you need.

The add_note_to_ticket tool posts a public note. Do not use it for an internal-only update. Check the target ticket, audience and content before authorizing a write, and validate a new write setup on a designated test ticket.

Use Halo in Ask Lex

  1. Open Ask Lex and enable the Halo connector in the conversation’s tool selector.

  2. Ask for a specific task supported by your enabled tools. Start with a read-only request, such as reviewing a known test ticket, and explicitly ask Lex not to make changes.

  3. Check the result against Halo. For a write, review the action and any approval request before proceeding, then confirm the change in Halo.

Each user must connect their own Halo account. Creating the connector, enabling a tool or selecting a skill does not sign another person in. See Configure Connectors and Sign In for Ask Lex for the general connector workflow.

Troubleshooting

“Could not start authorization with the connector”

Check that you registered the Halo application, entered its Client ID in Lexful and saved before selecting Connect account. Also check that the application uses Authorisation Code (Native Application), no client secret, and the exact redirect URL displayed in Lexful.

The account is connected but tools are missing

Reopen the connector, select Refresh tools, choose the intended tools and save. Check that Halo’s MCP endpoint is enabled and that your agent and application have the required access.

A tool reports insufficient permissions

Check the scopes requested in Lexful, the Halo application permissions, the signed-in agent’s access and the enabled MCP tools. Save scope changes before reconnecting. Each user must reconnect after a scope change in Lexful; after changing permissions in Halo, reconnect if the existing token lacks the required grant. Retry a read-only request before making changes.

You still cannot connect

Contact support in Lexful, or use lexful.ai/contact. Include the error message, time and the step that failed. Do not send tokens, credentials or private ticket content.

Configure ticket workflows

For custom triage actions, private notes and time, subject updates, ticket history and SOP drafting, follow Configure Halo ticket workflows for Ask Lex. Runbooks use their configured Halo execution identity; check that access separately from the agent’s OAuth sign-in.

Did this answer your question?