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.
| Integration | Needed for | Required? |
|---|---|---|
| Autotask or ConnectWise | Reading tickets and assigning them | Yes, one of them |
| Claude | Classifying tickets and reading how customers sound | Strongly recommended. Without it tickets route on what the submitter picked. |
| Microsoft Teams | Cards to technicians, Accept and hand back, alerts, pages by Teams | Recommended |
| Microsoft 365 | Time off from calendars, report emails | Optional |
| Twilio | On-call pages by text and phone call | Optional. 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
- In Autotask, go to Admin › Resources/Users and create a New API User. Use an API user, not a person's account.
- Give it a security level that can view and edit tickets and add ticket notes (the steps below list everything).
- Under API Tracking Identifier, choose Custom (Internal Integration) and note the identifier Autotask shows. That is the integration code.
- 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
| Field | What it is |
|---|---|
| API user name | The full user name of the API user. |
| API secret | Its secret. |
| Integration code | The tracking identifier from the step above. |
| Zone URL | Leave 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.
- Under the Autotask card's Webhook section, press Generate for the shared secret and save.
- Press Create in Autotask. The badge should read active.
- 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.
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
- In ConnectWise, go to System › Members, open the API Members tab and add one.
- Give it a security role with the permissions below. Many desks copy an existing role and narrow it.
- 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
| Field | What it is |
|---|---|
| Site | The 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 id | The company id you sign in to ConnectWise with. |
| Public key, Private key | From 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
- Under Callback, press Create in ConnectWise. It generates its own secret.
- The badge should read active. Callback deliveries shows every call ConnectWise made.
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.
- Sign in at console.anthropic.com and make sure billing is switched on for the workspace.
- Under API keys, create a key and copy it.
- In Mittaris, Settings Integrations AI Claude, paste it into API key and press Test.
- 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.
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)
- In the Azure portal, create an Azure Bot resource in your tenant, with a new single-tenant app registration.
- On the bot's app registration, under Certificates & secrets, create a client secret. Note the date: secrets expire.
- Under API permissions, add the Microsoft Graph application permissions below, then Grant admin consent.
- 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
| Field | What it is |
|---|---|
| Bot app id | The bot's Microsoft App ID. |
| Bot client secret | The secret from its app registration. |
| Tenant id | Your Microsoft Entra tenant id. |
| Teams app id | Leave empty, unless you are reusing a Teams app published separately. |
Finish in Mittaris
- Save and press Test.
- 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.
- 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.
- Back in Mittaris, press Install for the team. It adds the app to everyone's Teams.
- 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.
- In the Entra admin centre, under App registrations, create a new registration.
- Add the Microsoft Graph application permissions below and grant admin consent.
- Create a client secret and note its expiry.
- 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
| Field | What it is |
|---|---|
| Tenant id | Your Microsoft 365 tenant id. |
| Application (client) id | The app registration's id. |
| Client secret | Its 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.
- Use a Twilio account of your own with a phone number that can send texts and make calls.
- 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.
- Enter the Account SID, auth token and number in Settings Integrations Messaging Twilio.
- 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.
- Send yourself a test page from On call Paging.
What to enter
| Field | What it is |
|---|---|
| Account SID | Starts with AC. |
| Auth token | Also how Mittaris proves a reply really came from Twilio. |
| From number | The number pages come from, like +15551234567. |