awe docs

Everyday use

Connections

A connection is a sign-in that lets awe work with one of your services: Google, Microsoft 365, Notion and others. This page shows how to connect a service, how to check that a connection still works, and how to reconnect one that has stopped. The first half is for everyone. The command line section at the end is for people who like a terminal.

Sign-ins are stored on your own awe (on your computer, or in your cloud awe). You always sign in on the service’s own page, and awe never sees your password.

Three ways to connect

By text

The quickest way. Text awe one of these:

You text What happens
connect my Google awe sends a link. Tap it, pick your account, allow access. awe texts when it is connected.
connect my Notion The same, for Notion.
what's connected? A list of what is connected, and what you can connect by text.
disconnect my Notion Signs awe out of that service.

Services you can connect by text today: Google, Notion, Linear, Canva, Stripe, monday.com, Attio, Zapier, Airtable, Calendly, Todoist and Trello.

A sign-in link lasts 10 minutes. Tapped late, it says so and offers a fresh one. awe says “connected” only after one real request to the service has worked. If the sign-in went through but the service did not answer, awe tells you that instead and asks you to try in a minute.

From the chat on your computer

In the chat at http://127.0.0.1:8765/simple, open the + menu:

  • Connect Google (Gmail, Calendar, Docs) opens Google’s sign-in in your browser. Once connected, the same item reads “Google: connected as” with your address, and clicking it twice disconnects.
  • Share a Google file with awe… lets you pick an existing document or sheet for awe to work on.

From the console’s Apps page

Open the console at http://127.0.0.1:8765, then Apps → All apps. Each service is a card. Press Connect and sign in when the service’s page opens. The page lists about thirty services, including Notion, Linear, Canva, Stripe, Cloudflare, monday.com, Airtable, Calendly, Todoist, Trello, Zapier and Microsoft 365.

Most cards need nothing but your sign-in. A few ask you to paste an API key (Exa, Dappier) or an address the service gives you (Zoho); the card shows the steps. The page can also add any other service that offers a remote MCP address: paste its URL, then sign in or enter a key.

A connected card has Test connection, Reconnect, Disconnect (keeps the card so you can connect again later) and Remove server (deletes it and its sign-in).

Google

One sign-in covers Gmail, Google Calendar, and Google Docs and Drive.

  • Email: read, search, draft and send. Sending always waits for your yes.
  • Calendar: read your events and create or change them.
  • Docs and Drive: only files awe creates, or files you pick for it. awe cannot browse the rest of your Drive.

While Google is still reviewing awe’s app, Google may show a screen saying the app is not verified. Tap Advanced, then Go to awe.

To switch Google accounts, disconnect and connect again. Disconnecting deletes the sign-in from your awe and asks Google to withdraw awe’s access. If Google could not be reached, awe says so and points you to myaccount.google.com, under Security, to remove it there.

Microsoft 365

Microsoft 365 (Outlook mail, Calendar, OneDrive, Teams, Excel, To Do, Contacts) is set up on the computer, in two steps:

  1. In a terminal, from the awe folder, sign in with a code:

    node MCP-servers/ms365/auth.js

    It prints a short web address and a code. Open the address in any browser, enter the code, and sign in with the Microsoft account you want awe to use. If node is not found, use the copy that ships with awe: ./.node/node MCP-servers/ms365/auth.js.

  2. In the console, open Apps → All apps, find the MS 365 card and press Add server.

To use a different Microsoft account, press Switch account on the card and run step 1 again. If your organisation requires its own app registration, set MS365_MCP_CLIENT_ID and MS365_MCP_TENANT_ID in .env before step 1.

Outlook calendars are used for finding a time and for meeting briefs, the same as Google Calendar.

When a connection stops working

Sign-ins expire. awe renews them by itself in the background for as long as the service allows. When a renewal is no longer possible (the service withdrew access, you changed your password, the sign-in was too old), you need to sign in again.

How you find out:

  • You ask for something and awe answers that the service is not connected, or that its sign-in has expired.
  • The card on the Apps page reads Reconnect required.
  • ./awe-core connections shows the row as expired-reconnect (see below).

How to fix it, any one of:

  • Text connect my Notion (or the service’s name) again.
  • On the Apps page, press Reconnect on the card.
  • For Google, use Connect Google in the chat’s + menu.

After moving your awe between your computer and the cloud, every service needs connecting again once. Sign-ins are tied to the install they were made on and do not move. See cloud-and-mac.md.

Checking from the command line

Run this from the awe folder. It only reads; it changes nothing.

./awe-core connections

It prints one row per connection, then a summary line that counts the connections, how many need you to sign in again, how many are contradicted and how many are unknown.

The columns:

Column Meaning
connector The service
state One of the eight states below
expires When the current sign-in runs out, if it has an end
fail How many renewals in a row have failed
last ok call The last time a real request to the service worked
health What awe’s background check last recorded
ledger Whether that record agrees with the evidence
reason The state explained in a sentence

The states:

State What it means Do you need to do anything?
alive The sign-in is valid and a real request worked in the last 30 days No
idle The sign-in is valid, but nothing has used it in 30 days No
idle-verified Unused for 30 days, and awe’s weekly check of it answered fine No
expired-refreshing The sign-in ran out and awe is renewing it No, wait
expired-reconnect Renewal is not possible, or failed five times in a row Yes: sign in again
unconfigured The service is listed but nobody ever signed in Only if you want it
unknown Not enough evidence to say No, but it is not a pass
contradicted awe’s own record says healthy while the evidence says the sign-in is dead Look at the reason, then reconnect

The useful distinction is between idle-verified and expired-reconnect. From the outside both look the same, because nothing has used either one. The first is fine. The second will fail the next time you ask for it.

Once a week, awe checks each connection that has been idle for more than 30 days by asking the service for its list of tools. If the service refuses the sign-in, the row becomes expired-reconnect even though nothing had expired. If the service cannot be reached at all, the row is left alone: being offline is not evidence against a sign-in.

For scripts, --json prints the same rows as JSON. The command exits with code 2 when a row is contradicted.

./awe-core connections --json

Three more commands work on services connected through the Apps page or by text:

./awe-core integrations list
./awe-core integrations test notion
./awe-core integrations disconnect notion

list shows them, test makes one real request and reports what came back, and disconnect deletes the sign-in and turns the service off.