Guide

Integrations

Every connection Mittaris uses: what it is for, what to create on the other side, the permissions it needs, and how to check it works.

Where integrations live

Settings Integrations, for Admins. There are four tabs: PSA, AI, Microsoft 365 and Messaging. A dot on a tab means something required there is not set up.

  • Each card has a Permissions needed checklist. Grant everything on it before connecting.
  • Credentials are stored encrypted and never shown again once saved. You can only replace them.
  • Test proves a connection, and says exactly what is refused when something is.
  • Disconnect keeps what you entered so reconnecting needs nothing typed again. Delete removes the connection and the data that came from it; the confirmation says what goes.
  • Each desk connects to one PSA: Autotask or ConnectWise.
IntegrationNeeded forRequired?
Autotask or ConnectWiseReading tickets and assigning themYes, one of them
ClaudeClassifying tickets and reading how customers soundStrongly recommended. Without it tickets route on what the submitter picked.
Microsoft TeamsCards to technicians, Accept and hand back, alerts, pages by TeamsRecommended
Microsoft 365Time off from calendars, report emailsOptional
TwilioOn-call pages by text and phone callOptional. On call works over Teams without it.

Autotask

Mittaris reads and writes tickets as a dedicated Autotask API user, and Autotask calls Mittaris the moment a ticket is created or changes.

Create the API user

  1. In Autotask, go to Admin › Resources/Users and create a New API User. Use an API user, not a person's account.
  2. Give it a security level that can view and edit tickets and add ticket notes (the steps below list everything).
  3. Under API Tracking Identifier, choose Custom (Internal Integration) and note the identifier Autotask shows. That is the integration code.
  4. Save, and copy the user name and secret.

Permissions it needs

  • A dedicated API user, not a person's account.
  • A security level that can view and edit Tickets and add Ticket Notes.
  • Read access to Resources, Roles, Companies, Contracts, Queues and ticket picklists.
  • Read access to Time Off Requests and Holiday Sets, if time off and holidays come from Autotask.
  • For the webhook: a security level that can add, edit and delete Ticket Webhooks.

What to enter

FieldWhat it is
API user nameThe full user name of the API user.
API secretIts secret.
Integration codeThe tracking identifier from the step above.
Zone URLLeave empty: it is looked up from the user name. If you fill it in, use the API host, such as webservices15.autotask.net, not the address in your browser (ww15.autotask.net).

The webhook

Autotask has no screen for webhooks, so Mittaris creates it for you through the API.

  1. Under the Autotask card's Webhook section, press Generate for the shared secret and save.
  2. Press Create in Autotask. The badge should read active.
  3. If it is refused, the API user's security level needs webhook access. Grant it and press Recheck.
  • Subscription picks which events and fields fire it. Keep Status and QueueID as trigger fields; avoid LastActivityDate and Description, which change on almost every edit and re-dispatch tickets for nothing.
  • Changes made by Mittaris's own API user never fire it, so Mittaris does not react to its own writes.
  • Webhook deliveries lists every call Autotask made and what happened to it, with Replay on any that failed.
Good to know. Without the webhook, tickets still arrive through the queue sweep every few minutes. The webhook makes it immediate.

ConnectWise

Mittaris reads and writes tickets as a ConnectWise API member, and ConnectWise calls Mittaris back when a ticket is created or changes.

Create the API member

  1. In ConnectWise, go to System › Members, open the API Members tab and add one.
  2. Give it a security role with the permissions below. Many desks copy an existing role and narrow it.
  3. Open the member's API Keys tab and generate a key pair. Copy the public and private key straight away; the private key is shown once.

Permissions it needs

  • Service Desk › Service Tickets: Add, Edit and Inquire set to All.
  • System › Table Setup: Inquire set to All, and under its customize link, Service / Service Board moved to the Allow side. This is how Mittaris reads boards and their statuses, and the most commonly missed one.
  • Companies › Company Maintenance: Inquire set to All.
  • Companies › Contacts: Inquire set to All. A permission of its own: without it no ticket shows who raised it.
  • Companies › Configurations: Inquire set to All, for the device a ticket is about.
  • System › Member Maintenance: Inquire set to All.
  • Finance › Agreements: Inquire set to All.
  • For the callback: permission to manage API callbacks.

What to enter

FieldWhat it is
SiteThe API host. For ConnectWise's cloud this is api-na.myconnectwise.net in North America (api-eu, api-au elsewhere), not na.myconnectwise.net from your browser. Mittaris corrects that one for you. On your own server, its address.
Company idThe company id you sign in to ConnectWise with.
Public key, Private keyFrom the member's API Keys tab.

Test it

Press Test. It checks that the member can read tickets, boards, companies, contacts, configurations and members, and names anything its role refuses, in the same words as ConnectWise's Security Roles screen. Change only what it names.

The callback

  1. Under Callback, press Create in ConnectWise. It generates its own secret.
  2. The badge should read active. Callback deliveries shows every call ConnectWise made.
Good to know. The callback is optional. Without it, Mittaris sweeps for new unassigned tickets every five minutes. With it, tickets are picked up the moment they are created, and changes to tickets already dispatched are seen straight away.
Tip. On ConnectWise, Mittaris's queue pickers list your boards, and its status pickers list each board's statuses. If they show empty id boxes instead, the member cannot read boards yet: see Table Setup above.

Claude (AI)

Claude classifies each ticket's issue type, sub-issue type, priority and ticket type, and reads how the customer sounds. It runs on your own Anthropic account, billed to you directly by Anthropic.

  1. Sign in at console.anthropic.com and make sure billing is switched on for the workspace.
  2. Under API keys, create a key and copy it.
  3. In Mittaris, Settings Integrations AI Claude, paste it into API key and press Test.
  4. Choose the model under Settings General AI classification. Opus judges best, Sonnet is cheaper and still strong, Haiku is fastest and cheapest.

Permissions it needs

  • An Anthropic API key.
  • Billing switched on for that workspace.
  • Access to the model chosen in Settings.
Good to know. Dispatch still works without Claude: tickets route on whatever the submitter selected.

Microsoft Teams

A Teams bot sends a technician a card when a ticket is dispatched to them, with Accept and hand back right on the card, and carries their answer into the PSA. Alerts and on-call pages use it too.

Create the bot (Azure portal)

  1. In the Azure portal, create an Azure Bot resource in your tenant, with a new single-tenant app registration.
  2. On the bot's app registration, under Certificates & secrets, create a client secret. Note the date: secrets expire.
  3. Under API permissions, add the Microsoft Graph application permissions below, then Grant admin consent.
  4. On the bot, under Channels, switch on Microsoft Teams.

Permissions it needs

  • Microsoft Graph application permissions, with admin consent: TeamsAppInstallation.ReadWriteForUser.All, AppCatalog.Read.All and User.Read.All.
  • A client secret on the bot's app registration.
  • The Mittaris Teams app uploaded once to your Teams app catalogue.

What to enter

FieldWhat it is
Bot app idThe bot's Microsoft App ID.
Bot client secretThe secret from its app registration.
Tenant idYour Microsoft Entra tenant id.
Teams app idLeave empty, unless you are reusing a Teams app published separately.

Finish in Mittaris

  1. Save and press Test.
  2. Open the Chat notifications view on the Teams card. Copy its Messaging endpoint into the Azure Bot's Configuration › Messaging endpoint. It names your desk, so use it exactly as shown.
  3. Press Download package, then in the Teams admin centre go to Teams apps › Manage apps › Upload new app and upload it. Microsoft does not let an app publish itself, so this one step is manual.
  4. Back in Mittaris, press Install for the team. It adds the app to everyone's Teams.
  5. Each person opens the Mittaris app in Teams once. That links them, and their row under People shows the Teams icon lit.

What the card does

  • Send a card when a ticket is dispatched. Off, dispatch still runs; nobody is told in Teams.
  • Let people hand a ticket back. The ticket is re-dispatched and whoever declined is skipped for it.
  • Status when accepted: optionally move the ticket to a status when somebody accepts.
  • PSA ticket link: the address of a ticket in your PSA, with {id} or {number} where the ticket goes, so cards link straight to it.
  • Who can be reached lists everybody and whether they are linked, with Test to send one person a test card.

Microsoft 365

Reads people's calendars and automatic replies for time off, and sends report emails.

  1. In the Entra admin centre, under App registrations, create a new registration.
  2. Add the Microsoft Graph application permissions below and grant admin consent.
  3. Create a client secret and note its expiry.
  4. Enter the three values in Settings Integrations Microsoft 365 and press Test.

Permissions it needs

  • Calendars.Read and MailboxSettings.Read, for time off.
  • Mail.Send, for report emails. Recommended: an Exchange application access policy limiting it to the mailbox reports are sent from.
  • An email address on each person under People that matches their Microsoft 365 sign-in.

What to enter

FieldWhat it is
Tenant idYour Microsoft 365 tenant id.
Application (client) idThe app registration's id.
Client secretIts secret.

Twilio

Texts and phone calls for on-call pages. The person paged replies 1 to the text or presses 1 on the call to take it; either stops the escalation. Twilio bills its usage to you directly.

  1. Use a Twilio account of your own with a phone number that can send texts and make calls.
  2. For texts to US numbers, register the number for A2P 10DLC (a brand and a campaign) or use a verified toll-free number. Carriers block unregistered texts, and registration takes days to weeks, so start it first.
  3. Enter the Account SID, auth token and number in Settings Integrations Messaging Twilio.
  4. Copy the address shown under Replies into the number's A message comes in webhook in Twilio, so replies to a page reach Mittaris. Calls need nothing set.
  5. Send yourself a test page from On call Paging.

What to enter

FieldWhat it is
Account SIDStarts with AC.
Auth tokenAlso how Mittaris proves a reply really came from Twilio.
From numberThe number pages come from, like +15551234567.
Good to know. Texts only ever go to people who turned on alert texts themselves. See alert texts and how alert texts work.