[ Administrator guide ]

Registering your connector apps

Each organisation registers its own apps, inside its own account with each provider. Outlook, OneDrive and Excel are the exception: they already work. This guide walks an IT administrator through every one of them — about ten to fifteen minutes each, plus any review time the provider needs, and only for the ones your team will actually use.

8 providers

Which connector does your mailbox need?

Type the address you want to connect. We look up where the mail is hosted and tell you which connector to use, and what you need to do at your provider first.

Why you register your own app

Reading a mailbox is a restricted scope. A vendor that wants to read every customer’s mail through one shared app has to pass Google’s CASA security assessment and re-pass it every year — and even then, your staff would be granting access to an app owned by someone else.

The same gate exists almost everywhere else, just under a different name: Xero requires App Partner certification before one app may connect multiple organisations, Slack reviews any app distributed beyond a single workspace, and Notion draws the same line between an internal integration and a public one.

Registering each app inside your own account sidesteps all of it. The app belongs to your organisation — even where a provider, such as Google Ads, requires its consent screen to be External — so the access grant is yours, appears in your own admin console, and you can revoke it at any time without asking us.

The trade-off is this page: someone with admin rights spends a few minutes per provider. You only do it once, and only for the providers your team will use.

Google

Covers Gmail, Google Calendar and Google Drive.

Before you start

  • A Google Workspace account for your organisation. A personal @gmail.com account will not work — the Internal user type this guide relies on only exists under Workspace.
  • Rights to create a project in Google Cloud Console (Project Creator, or an Owner who can make one for you).
  • The redirect URI from Marilune, under Org admin → App connections → Google. Copy it now; you will paste it in step 5 and it has to match character for character.
  1. 01

    myaccount.google.com → Security

    Turn on 2-Step Verification

    Google Cloud Console only lets you in with 2-Step Verification on the account you sign in with. Check it now, so you are not stopped halfway through.

    If it already shows On — many Workspaces enforce it — move on to the next step.

  2. 02

    console.cloud.google.com

    Create a project

    Open Google Cloud Console and create a new project — name it something your colleagues will recognise later, for example “Marilune connectors”.

    Everything below happens inside this project. Keep it separate from projects you use for other things, so revoking it later is one clean action.

    Once it is created, check that the project picker at the top of the console shows it. The buttons in the next steps open whichever project is selected there.

  3. 03

    APIs & Services → Library

    Enable the three APIs

    Open each API below and click Enable: Gmail API, Google Calendar API and Google Drive API.

    If you skip this, the OAuth sign-in itself will still succeed — the failure only shows up later, when a buddy first tries to read mail or files and gets a 403 saying the API has not been used in this project.

  4. 04

    Google Auth Platform → Branding / Audience

    Configure the consent screen as Internal

    On a new project Google shows Get started. Fill in the app name (your staff will see this on the consent screen) and a support email, choose Audience: Internal, add a contact email, then Create. Nothing else is required.

    If the project already has a consent screen, open Audience and check that User type is Internal.

    Internal means only accounts in your own Workspace can authorise this app. It also means Google does not put it through verification or CASA — which is the whole point.

  5. 05

    Google Auth Platform → Clients

    Create the OAuth client

    Create client → Application type: Web application.

    Under Authorised redirect URIs, click Add URI and paste the redirect URI from your Marilune panel. Paste it; do not retype it.

    Click Create. Google shows you the client ID and client secret once, in a dialog.

  6. 06

    Marilune → Org admin

    Paste the credentials into Marilune

    Open Org admin → App connections → Google, and expand the card.

    Paste the client ID and client secret, then Save.

    Switch Enabled on. Gmail, Google Calendar and Google Drive now appear in your team’s connector menu instead of being greyed out.

When it goes wrong

The Internal option is greyed out on the consent screen
You are signed in with a personal Google account rather than a Workspace one. Internal only exists where there is an organisation to be internal to.
Error 400: redirect_uri_mismatch
The URI registered in Google is not byte-identical to the one Marilune sends. A trailing slash, http instead of https, or a mistyped tenant code all produce this. Copy it again from the panel rather than editing by hand.
Gmail API has not been used in project … before or it is disabled
Step 3 was skipped. Enable the Gmail, Calendar and Drive APIs in that project.
Access blocked: … has not completed the Google verification process
The consent screen is set to External. Change the user type to Internal — External apps asking for mail scopes need verification, Internal ones do not.

Microsoft

Covers Outlook Mail, Outlook Calendar, OneDrive, Excel, Teams and SharePoint.

Outlook, OneDrive and Excel already work without this. You only need it for Teams or SharePoint. After you set it up, everyone signs in to Outlook again once.

Before you start

  • A Microsoft 365 tenancy and an account that can register applications — Application Administrator, Cloud Application Administrator, or Global Administrator.
  • Someone who can grant admin consent for the tenancy. This can be the same person; it is a separate click.
  • The redirect URI from Marilune, under Org admin → App connections → Microsoft.
  1. 01

    mysignins.microsoft.com → Security info

    Check multi-factor authentication

    The Microsoft Entra admin center requires multi-factor authentication for every admin sign-in. Make sure your account has a method set up — Microsoft Authenticator, a phone or a passkey — so you are not stopped halfway through.

    If a method is already listed, move on to the next step.

  2. 02

    entra.microsoft.com → App registrations

    Register the application

    New registration. Give it a name your colleagues will recognise, for example “Marilune connectors”.

    Supported account types: Accounts in this organizational directory only (single tenant).

    Under Redirect URI, choose platform Web and paste the redirect URI from your Marilune panel.

    Register.

  3. 03

    The app’s Overview page

    Copy the two IDs

    Registering takes you straight to the app’s Overview. If you have left it, find the app again under App registrations.

    Copy the Application (client) ID.

    Copy the Directory (tenant) ID. Marilune needs this one too, and it is the step people most often miss.

    A single-tenant app cannot sign in through Microsoft’s shared /common endpoint — the sign-in has to go through your directory specifically, which is what that tenant ID is for.

  4. 04

    Certificates & secrets

    Create a client secret

    New client secret. Give it a description and an expiry — Microsoft caps this at 24 months.

    Copy the Value column, not the Secret ID. The value is shown exactly once; if you navigate away you will have to delete it and make another.

    Put a reminder in your calendar for the expiry date. When a secret expires, every connection stops refreshing and your staff have to reconnect.

  5. 05

    API permissions

    Add the Graph permissions

    Add a permission → Microsoft Graph → Delegated permissions. Add the ones that match the connectors you intend to use (listed below this step).

    Then click Grant admin consent for <your organisation>. Without this, the first person to connect gets a consent screen they are not allowed to approve.

    Delegated means the app acts as the signed-in person and sees exactly what they can see — not the whole tenancy.

  6. 06

    Marilune → Org admin

    Paste the credentials into Marilune

    Open Org admin → App connections → Microsoft, and expand the card.

    Paste the Application (client) ID, the client secret value, and the Directory (tenant) ID.

    Save, then switch Enabled on.

When it goes wrong

AADSTS50194: Application is not configured as a multi-tenant application
The Directory (tenant) ID field in Marilune is empty, so the sign-in went to the shared /common endpoint. Fill it in on the Microsoft card.
Need admin approval (when connecting Outlook without your own app)
Your company only lets administrators approve apps. A Microsoft 365 administrator approves Marilune once, and then everyone can connect.
AADSTS65001: The user or administrator has not consented
Grant admin consent was not clicked under API permissions.
AADSTS7000215: Invalid client secret provided
The Secret ID was pasted instead of the Value, or the secret has expired. Create a new one and paste the Value column.
Connections stop working months later with no change on your side
The client secret reached its expiry date. Create a new one and update it in the panel.

Linear

Covers Linear issues and projects.

Before you start

  • A Linear workspace and an account that can create OAuth applications in it.
  • The redirect URI from Marilune, under Org admin → App connections → Linear.
  1. 01

    linear.app → Settings → API → OAuth applications

    Create the application

    New OAuth application. Give it a name your colleagues will recognise.

    Paste the redirect URI from your Marilune panel into Callback URLs.

    Leave public distribution off — the app only needs to serve your own workspace.

  2. 02

    The application’s page

    Copy the credentials

    Copy the Client ID and the Client secret.

    Paste both into the Linear card in your Marilune panel, Save, then switch Enabled on.

When it goes wrong

redirect_uri_mismatch after authorising
The callback URL in Linear is not byte-identical to the one in the panel. Copy it again rather than retyping.
The buddy can read issues but cannot create or edit them
Marilune requests both read and write scopes. If the app was created with read only, recreate it — scopes are fixed at the point of authorisation.

Notion

Covers Notion pages and databases.

Before you start

  • A Notion workspace and an account that can create integrations in it.
  • The redirect URI from Marilune, under Org admin → App connections → Notion.
  1. 01

    notion.so/my-integrations

    Create an internal integration

    New integration. Pick your workspace and give it a name.

    Set the capabilities it needs — read content, update content, and insert content for a buddy that will edit pages.

  2. 02

    The integration’s Distribution tab

    Turn on OAuth

    Marilune connects per person, so the integration has to be OAuth-capable rather than a single internal token.

    Add the redirect URI from your Marilune panel.

  3. 03

    The integration’s Secrets tab

    Copy the credentials

    Copy the OAuth client ID and client secret into the Notion card in your Marilune panel, Save, then switch Enabled on.

  4. 04

    Notion itself

    Share the pages with it

    Notion grants nothing by default. Each person opens the pages or databases they want their buddy to reach and shares them with the integration by name.

    A buddy that reports an empty workspace is almost always this step, not a credential problem.

When it goes wrong

The buddy says it cannot find any pages
The pages have not been shared with the integration. Sharing is per page or per database, and it is not inherited from the workspace.
The integration has no client ID or secret
It is still an internal integration with a single token. Enable OAuth under Distribution to get a client ID and secret.

Slack

Covers Slack channels and messages.

Before you start

  • A Slack workspace and permission to install apps in it.
  • The redirect URI from Marilune, under Org admin → App connections → Slack.
  1. 01

    api.slack.com/apps

    Create the app

    Create New App → From scratch. Name it and pick your workspace.

  2. 02

    OAuth & Permissions

    Add the redirect URI and the user scopes

    Under Redirect URLs, add the URI from your Marilune panel.

    Add the scopes under User Token Scopes, not Bot Token Scopes — Marilune acts as the person who connected, so a buddy only sees the channels that person can already see.

    The scopes are: channels:read, groups:read, channels:history, groups:history, search:read, users:read and chat:write.

  3. 03

    Basic Information

    Copy the credentials

    Copy the Client ID and Client Secret into the Slack card in your Marilune panel, Save, then switch Enabled on.

When it goes wrong

invalid_scope on the authorisation page
The scopes were added as Bot Token Scopes. Marilune requests user tokens; move them to User Token Scopes.
The buddy cannot see a private channel
That is working as intended — it sees exactly what the person who connected sees. Invite that person to the channel.

Xero

Covers Xero invoices, contacts, payments and reports.

Before you start

  • A Xero account with access to the organisations your team works with.
  • The redirect URI from Marilune, under Org admin → App connections → Xero.
  1. 01

    developer.xero.com/app/manage

    Create the app

    New app → Web app. Name it, give it your company URL.

    Paste the redirect URI from your Marilune panel into the OAuth 2.0 redirect URI field.

    Registering your own app is what keeps you out of Xero’s App Partner certification — that is only required when one app connects organisations it does not own.

  2. 02

    The app’s Configuration page

    Copy the credentials

    Copy the Client ID. Generate a client secret and copy it — Xero shows it once.

    Paste both into the Xero card in your Marilune panel, Save, then switch Enabled on.

When it goes wrong

The connection drops after 60 days of no use
Xero expires refresh tokens that go unused for 60 days. Reconnect from the connector menu.
The buddy connected but sees no organisation
The person who connected did not tick an organisation on Xero’s consent screen. Reconnect and select one.

MYOB

Covers MYOB company files, sales, contacts and banking.

Before you start

  • A free MYOB developer account. Registration itself costs nothing — the Open Access tier lets you register an app and connect to real customer company files. The paid tiers on MYOB’s pricing page buy a private sandbox and a marketplace listing, neither of which you need here.
  • Patience for one working day. Unlike every other provider in this guide, MYOB creates the developer account by hand and emails you when it is ready. Start this one first.
  • The redirect URI from Marilune, under Org admin → App connections → MYOB.
  1. 01

    developer.myob.com

    Register for a developer account

    Sign up, then wait for MYOB to set the account up and email you. This is a manual step on their side.

  2. 02

    my.myob.com.au → Developer → Register App

    Register the app

    Register a new app and paste the redirect URI from your Marilune panel.

    MYOB issues a Key and a Secret. The Key doubles as the API key sent on every business request, so it is not treated as confidential.

  3. 03

    Marilune → Org admin

    Paste the credentials

    Put the Key in Client ID and the Secret in Client secret, Save, then switch Enabled on.

When it goes wrong

The buddy connected but no company file is available
MYOB returns the company file on the callback only when consent is re-prompted. Disconnect and reconnect.
Requests fail with an invalid API key
The Secret was pasted into Client ID. MYOB’s Key goes in Client ID; the Secret goes in Client secret.

Microsoft Graph delegated permissions

Add only the rows for connectors you actually want. Every row also needs User.Read and offline_access, which Marilune requests on every Microsoft connection — offline_access is what lets a buddy keep working without asking your staff to sign in again each hour.

ConnectorDelegated permissions
Outlook MailMail.ReadWrite, Mail.Send
Outlook CalendarCalendars.ReadWrite
OneDriveFiles.ReadWrite
ExcelFiles.ReadWrite
SharePointSites.ReadWrite.All
TeamsTeam.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All, ChannelMessage.Send, Chat.ReadWrite

What your staff see

Once the card is saved and switched on, the matching connectors stop being greyed out in everyone’s connector menu. Each person then connects their own account — the app you registered is shared, but the access grants are individual.

A buddy only ever sees what the person who connected it can already see. Nobody inherits a colleague’s mailbox.

Switching the card off dims the connectors in the menu and stops new connections. For connectors whose tokens refresh through the app you registered — Google, Microsoft, Xero, MYOB and Google Ads — the next refresh fails and the connection expires, so each person must reconnect after you switch it back on; other connectors keep their existing connections until they are revoked. To actually cut access, revoke the app in your own admin console, which is the point of it being registered there.