Skip to content

Connect a cloud account

A cloud account, for example GitHub or a Google account, can be a host in your network, the same as a folder on your Mac. inseam’s cloud node reads it over the internet, so you install nothing and no device must stay on.

An agent makes the connection for you. It first looks for a ready-made connector in the plugin registry. When there is none, it writes a small connector (a host plugin) for the service. Either way inseam tests it and checks it, and you approve it in your browser. It takes a few minutes and you do it once per account.

service how you sign in
GitHub you sign in to GitHub from the approval page
a Google account: Drive, Gmail, Calendar, Contacts you sign in to Google from the approval page
any service with an HTTPS API that takes an API token, an API key, or a user name and password you type the credential on the approval page

Sign-in with other providers, for example Microsoft 365, is not available yet.

Connect an agent as in connect an agent. On the approval page, tick add new hosts. This permission is off unless the agent asks for it. An agent that you connected without it must connect again.

Tell the agent what to connect, in your own words:

Connect my GitHub account to inseam.

Connect my Google account to inseam: Drive, Gmail and Calendar.

The agent installs a connector from the registry, or writes one and sends it to inseam. inseam checks it at once. If something is wrong, the agent gets the problem and the fix, and sends it again. When the connector passes, the agent gives you a link to the approval page.

The approval page shows what the connector is and the web addresses it may reach. Then:

  • For GitHub or Google, select Connect GitHub and run the trial or Connect Google and run the trial. The provider’s page shows the permissions that the connector asks for. Allow them, and the browser comes back to the approval page.
  • For a service with a fixed credential, type the token or key into the form and select Approve and run the trial.

Decline ends it at any step.

The agent never sees the credential. inseam keeps it encrypted and adds it to the connector’s requests itself. The connector can reach only the web addresses that you saw, and inseam lets it only read, even when the provider’s permission would allow more.

When the page asks you to register your own app. inseam may not yet have its own sign-in app with a provider. Then the approval page shows the provider’s steps to make one in your own account: where to go, what to type, and the redirect address to copy. The network’s owner or an admin pastes the client ID and client secret into the form. inseam checks them with the provider, keeps the secret encrypted, and uses this app for every account that your network connects with that provider.

inseam runs the connector against your real account: it lists a page of items, reads two small ones, and checks that no request went anywhere it should not. Then the agent writes a security review of the code: eight checks, each with the lines of code that prove it. For a connector from the registry, the registry’s own AI reviewer made that review before it was published. You can read the review on the approval page.

The agent asks to install. Read the review, then select Install and start indexing on the approval page. The account appears on your Hosts page, and the first crawl starts. The first crawl of a large mailbox or drive can take some time. Items are searchable as they are indexed.

Open Hosts and select the account.

  • Indexing shows the crawl: whether it runs now, the last complete pass (how many items, how many changed, how long it took) and when the next one starts. Index now starts a pass at once. Pause indexing stops the crawl until you resume it; the pass goes on from where it stopped.
  • Connector shows the account, the access you gave, how often it is crawled, and its settings.
  • What to index lists the sources of the account (for Google: drive, gmail, calendar, contacts) with their item counts. Select Edit the scope to choose a depth per source, an age window or your own rules. A saved scope starts a pass at once. See choose what is indexed.

A connected account is crawled again every hour, or every six hours for a service where listing is costly, such as a mailbox. Changes in the account appear after the next pass. Push updates are not available yet.

If the provider ends inseam’s access (for example, you removed the app in your provider account), the host’s Connector section says needs a reconnect. Ask your agent to connect the account again.

In a sealed network, a connected account is sealed like any other host. inseam’s cloud node does the crawl, and it has no key. So by default the account’s new items wait, encrypted, until a key holder lends the key, for example when you read from it in the web app. To keep the account indexed at all times, grant inseam’s cloud node the key for that one host, or run the crawl on a machine of your own when that is available. See keep your data private.

  • A connected account is read-only. Nothing in inseam writes to it.
  • inseam reads up to 8 MiB of each item for search. Larger items are found by name.
  • Each connected account counts as one cloud connection on your plan: 3 on the free plan, unlimited on the paid plan. See plans and billing.
  • Remove a connected account from its host page with Delete. inseam removes its index and forgets the credential. A GitHub sign-in is revoked at once. For Google, remove inseam’s access in your Google account too.