← All integrations

Human Resources · Integration

Embed a Legion integration in your product

Add Legion to your product for your customers, and give your AI agents governed access to it.

Embed a Legion integration so your customers can see workforce schedules and worked hours inside your product instead of a separate console. Employee data is sensitive, so access is scoped per customer, limited to the fields and locations you map, and every read and write is logged. fastn handles per-customer authentication and pagination, and monitors the connector for Legion API changes, proposing a tested fix your team approves, so a customer with an unusual location structure needs no code from you.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let customers connect their own Legion account so your product reads employee schedules and shifts.
  • Read worked hours and time records so your product reports on labor without a manual export.
  • Read and write availability or time off where a customer permits it, so a change reaches the schedule.
  • Scope reads to the locations and fields your product needs, so the rest of the employee record stays put.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent checks who is scheduled for a shift before answering a staffing question.
  • An agent summarizes hours by location for a manager, with each read logged.
  • An agent submits a schedule or time-off change within governed permissions, audited per customer.

Example prompt

Show shifts scheduled for next week at this location and flag any that are still unassigned.

Set up Legion in 4 steps

  1. 01Open the Legion connector from your fastn dashboard.
  2. 02Have each customer authenticate their own Legion account.
  3. 03Map the employee, schedule and time fields your product uses, then enable actions.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the Legion integration

  • Ship a Legion integration without building it. Your customers connect their own Legion account inside your product and work their employees, employment records and working time there, and nothing lands on your team.
  • Handle the part that actually costs time: HR data is sensitive and its access rules are stricter than most apps. fastn handles the auth, token refresh, rate limits and pagination, and when Legion changes, its maintainer agent proposes a tested fix, so a Legion update does not start in your backlog.

Legion integration FAQ

Can AI agents use this Legion integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent checks who is scheduled for a shift before answering a staffing question. For example: "Show shifts scheduled for next week at this location and flag any that are still unassigned."

How is sensitive Legion employee data handled?

Access is scoped per tenant and limited to the fields you map, credentials are encrypted, and every read and write is logged. You expose only what your product actually needs rather than the whole employee record.

Can joiner, mover and leaver changes be automated?

Yes. Where Legion is where a hire, a role change or a departure is recorded, that change can trigger downstream provisioning or removal across the customer's other connected apps. Where Legion sits downstream of the HR system of record, the same event can be pushed into it so its worker list, schedules and access stay in step, which is where most of the manual effort sits.

What can I build with the Legion integration?

A common starting point: connect their own Legion account so your product reads employee schedules and shifts. The use cases above list the rest.

Add Legion to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.