Set up an identity for Droid

Create a dedicated identity for Droid in your identity provider and use it to connect apps on Agent Profiles, so shared work has its own access, audit trail, and off switch.

When teammates delegate work from Slack, Linear, Jira, Microsoft Teams, Google Chat, or a multiplayer session, Droid works as an Agent Profile. The profile's connectors are shared: anyone the profile serves can use them through Droid. This page explains how to give those connectors an identity of their own, such as droid@yourcompany.com, and how to set it up so Droid has exactly the access you intend.

It is written for the Factory Managers, Owners, and profile owners who set up Agent Profiles, and for the IT and app administrators who help them.

Why Droid needs its own identity

An Agent Profile connector carries the access of whichever account signed in to it. If you sign in with your own login, everyone who can use the profile can reach what you can reach, and their actions appear under your name. A dedicated identity avoids both problems.

Access you choose

The identity starts with no access. You grant it only the projects, folders, channels, and records the profile's work needs.

A clear audit trail

Droid's actions show up under the identity in each app's audit log, so your security team can tell agent activity from human activity at a glance.

Predictable behavior

Droid can do the same things no matter who asks. Nothing changes when an administrator changes roles or leaves the company.

One place to turn it off

Suspend the identity in your identity provider, or disconnect it on the profile, and Droid's shared access ends without touching anyone else's account.

Warning

Never connect a personal login to an Agent Profile. A profile connection is shared with everyone the profile serves, using the permissions of the account that signed in. Factory shows a This connection is shared warning before every profile connection for this reason.

How the pieces fit together

Droid has two layers of identity. In Factory, every Agent Profile has a service account that decides who Droid is: its Git credentials, connectors, secrets, and computers. In your other apps, Droid needs an account in each one, and that is the identity this page helps you create.

Where the request comes fromWhose connectors Droid uses
A Slack, Microsoft Teams, or Google Chat channel or space mentionThe Agent Profile's connectors
A Linear or Jira issueThe Agent Profile's connectors
A multiplayer sessionThe Agent Profile's connectors
A direct message to FactoryThe sender's own connectors

Personal connectors stay personal. Mentioning Factory in a channel never passes the requester's own connections to the shared session, so the profile's connectors are the only app access shared work has.

Note

The identity you create is an account in your other apps, not a Factory member, and it never signs in to Factory. In Factory, the profile's service account is Droid's identity.

Plan your identities

Decide how many identities you need before you create any. Each Agent Profile has its own connectors, so the choice follows how your profiles are split.

Choosing how many identities to create
One identity for all profilesOne identity per profile
Exampledroid@yourcompany.comdroid-backend@, droid-support@
AccessEvery profile reaches the same dataEach profile reaches only its team's data
AuditActivity is attributed to DroidActivity is attributed to Droid and the team it worked for
Setup effortLowestOne account per app, per profile
Best forOrg Default alone, or profiles that differ only in model or instructionsProfiles with different access, such as a team-restricted profile

Some guidelines:

  • Match the identity to the profile's audience. Anyone a profile serves can use everything its identity can reach. The Org Default profile serves everyone, so keep its identity's access to what any member may see.
  • Give restricted teams their own profile and identity. If finance or security data should stay with one team, put it behind a custom profile whose access is limited to that team's directory group, with its own identity.
  • Name identities after what they do. A name like droid-backend reads clearly in every app's member list and audit log.

Create the identity in your identity provider

Create the identity the way you would onboard a new teammate, so it works with your existing SSO, security policies, and offboarding.

  1. 1
    Create the user

    In Okta, Microsoft Entra ID, Google Workspace, or your email admin console, create a user such as droid@yourcompany.com with the display name Droid. Give it a mailbox, because app invitations, verification codes, and security notices go to that address.

  2. 2
    Assign owners

    Make the profile's owners responsible for the identity. Record them in the user's description or your IT asset system, and give them access to the mailbox, for example through mailbox delegation or a shared inbox.

  3. 3
    Secure the sign-in

    Generate a strong password and enroll MFA. Store both in your team's password manager, in a vault the profile owners share, so no single person holds the only way in.

  4. 4
    Group it for policy

    Put the identity in a group, or in Google Workspace an organizational unit, reserved for agent identities. Use it to apply policies such as blocking external file sharing, and to exclude the identity from licenses and app assignments it does not need.

  5. 5
    Assign only the apps Droid needs

    If your apps sign in through SSO, assign the identity to just those apps in your identity provider. Apps you do not assign stay unreachable to Droid, even if someone later connects them.

Tip

If your apps send email to the account, plus addressing such as droid+support@yourcompany.com can give each profile its own app accounts while sharing one mailbox. Check that each app and your SSO setup accept plus addresses before relying on them.

Give the identity access in each app

For each app the profile will use, add the identity as a member with the narrowest role that covers the work. The right pattern depends on what the app offers.

App typeRecommended patternExamples
Workspace suitesA dedicated user in your directory. Share only the folders, sites, shared drives, and calendars Droid needs.Google Workspace, Microsoft 365
Apps with seats and rolesInvite the identity as a member, or as a guest where guests can be limited to specific teams, projects, or spaces.Linear, Notion, Jira, Confluence, Asana, HubSpot, Figma
Apps with native service accounts or read-only rolesCreate the app's service account or a user with a read-only role, and add it to the specific projects or teams.Datadog, Sentry, PagerDuty, Snowflake
Apps that sign in with a key or tokenCreate the key while signed in as the identity, or from the app's service account, with the smallest scope the app allows.Elasticsearch, Splunk, Discord
Source controlUse your organization's GitHub App or a GitLab group access token instead of a connector. See Git access.GitHub, GitLab

Narrow the account, not the connector

A connector can do whatever its account can do in the app. To limit Droid to certain pages, folders, projects, or channels, limit the account:

  • Docs and wikis: share only the spaces, teamspaces, or pages Droid should read.
  • File storage: share specific folders or shared drives rather than granting domain-wide access.
  • Trackers: add the identity only to the teams or projects it should work in.
  • Chat: invite the identity only to the channels it should read or post in.
  • Data and monitoring: grant read-only roles, and add write access only where the profile's work needs it.

Start read-only, then add write access when a real workflow needs it. Droid also asks for confirmation before write or destructive connector actions unless the session's Autonomy Level allows them, so read access and careful autonomy settings work together.

Connect apps on the Agent Profile

Once the identity can sign in to an app, connect that app on the profile. Work through one app end to end, including the check in Verify the setup, before starting the next.

  1. 1
    Open the profile

    Go to Settings → Identity → Agent Profiles and select Edit on the profile, or Set Up for Org on an Org Default that has never been saved. A new custom profile must be saved once before you can add connectors.

  2. 2
    Choose the app

    Open the Connectors section, find the app, and select Connect. Factory shows This connection is shared, with a reminder that anyone who can use the profile can use the connection with the permissions you grant.

  3. 3
    Copy the sign-in link

    Factory gives you a sign-in link instead of opening it in your current browser. Copy it.

  4. 4
    Sign in as the identity

    Open the link in a private or incognito window, or a browser profile reserved for the identity, so you are not already signed in as yourself. Sign in as the identity and approve the access the app requests. Some apps show an OAuth consent screen; others ask for an API key, token, or endpoint instead.

  5. 5
    Confirm the connection

    Return to Factory. The dialog shows that the app is connected. If you closed the dialog or the link expired, select Connect again for a new link.

Note

The sign-in link authorizes a connection for the profile, so treat it like a password. Share it only with the person who will sign in as the identity, and do not post it in a channel.

A few apps need more before anyone can connect them:

  • Apps that use an organization OAuth app, such as Databricks, Salesforce, and ServiceNow, need a Manager or Owner to configure the OAuth app first. See apps that need an organization OAuth app.
  • Apps that sign in with a key or endpoint list the values to enter in apps that need extra setup. Create those values while signed in as the identity, or from the app's service account.
  • Enterprise organizations only see apps an Owner or Manager enabled under Enterprise controls.

Credentials outside connectors

For a command-line tool, API, or MCP server that is not a connector, store the identity's token as a computer secret in the profile's Secrets section. Secrets are write-only, and they reach the profile's managed computers as environment variables, so the same identity backs both connectors and scripts.

Git access

Repository access does not use connectors. Shared work clones and pushes as the profile's service account:

  • GitHub and GitHub Enterprise Server: install your organization's Factory GitHub App on the repositories the profile needs. No user or token is required, and pull requests show the app as the author.
  • GitLab and GitLab Self-Hosted: add a group access token in the profile's Git Credentials. If your plan does not offer group access tokens, use a personal access token from the dedicated identity's GitLab account, never a teammate's.

See repository access for the Agent Profile, and require an independent GitHub review so a requester cannot approve their own delegated change.

Verify the setup

Check each app after you connect it, from the place your team will use it.

  1. 1
    Ask what Droid can reach

    Mention @Factory in a channel the profile serves, or start a multiplayer session on the profile, and ask:

    Which connected apps can you use here? Don't change anything.
  2. 2
    Run a small read

    Ask for something the identity's access allows, such as the five most recent issues in a Linear team, a document by name, or the newest open Sentry issue.

  3. 3
    Check the app's audit log

    Confirm the request appears under the identity, not under your account.

  4. 4
    Check what Droid cannot reach

    Ask for something the identity was not granted, such as a private project or folder. Droid should report that it has no access.

On Enterprise plans, the Factory audit log also records connector changes on service accounts, and each delegated session records the person who asked and the identity the session ran as.

Run the identity day to day

Lock the profile

Add owners and lock profiles that production work depends on, so only their owners and organization Owners can change their connectors.

Review access regularly

Include the identity in your quarterly access reviews: its app roles, the projects and folders shared with it, and the profile's access list.

Rotate keys and tokens

For apps that use keys or tokens, set an expiration you track, create the replacement while signed in as the identity, reconnect the app, then revoke the old key. Organizations can also cap Factory API key lifetimes with the API key lifetime limit.

Reconnect after password or MFA changes

Some apps revoke OAuth grants when the account's password changes. If an app stops working, disconnect and reconnect it on the profile.

Retire it cleanly

To end Droid's shared access, disconnect the apps on the profile, or delete the profile, which removes its connectors. Then suspend the identity in your identity provider, and revoke any API keys or tokens it created, since some apps keep tokens working after a user is suspended.

App-specific notes

Use these notes alongside each app's own documentation. Role names and plan features change, so confirm them in the app before you grant access.

Linear

Invite the identity to only the teams the profile works in. Where your plan offers guests, a guest seat limits Droid to the teams you add it to.

Notion

Add the identity as a member or guest of the teamspaces or pages Droid should read. When Notion asks which pages to share during sign-in, pick only those.

Jira and Confluence

Create an Atlassian account for the identity, give it product access, and add it to the specific project roles and spaces it needs. Jira and Confluence permission schemes then bound what Droid can browse and edit.

Google Drive, Docs, Sheets, Calendar, and Gmail

Use the identity's Google Workspace account. Share specific folders or shared drives and calendars with it, and keep its mailbox for Droid's own mail. Apply sharing restrictions through its organizational unit.

Outlook, SharePoint, OneDrive, and Teams

Use the identity's Microsoft Entra ID account with the license these apps need. Add it to the specific SharePoint sites and Teams it should reach. If Conditional Access policies apply, scope any exception to this one account.

Slack connector

The Slack connector acts as the account that signs in. Give the identity a Slack account and invite it only to the channels it should read or post in; a multi-channel guest account limits it further. This is separate from the Factory Slack app, which receives requests and posts results as Factory.

Sentry, Datadog, and PagerDuty

Add the identity to the specific teams, projects, or services it should see, with a read-only or member role. If the app asks for a key, create it from the app's service account or the identity's own account.

Salesforce and HubSpot

Create a dedicated user with a profile, permission set, or team limited to the objects and records Droid should read. A Manager or Owner configures Salesforce's organization OAuth app first.

Snowflake and BigQuery

Create a dedicated user, or a service account for BigQuery, with a role granted read access to only the databases, schemas, or datasets Droid should query.

Setup checklist

  • A dedicated identity exists in your identity provider, with named owners, a mailbox, and MFA stored in a shared vault
  • Each Agent Profile with different access has its own identity, or shares one only with profiles that serve the same people
  • The identity has the narrowest role in each app, read-only where possible, and only the projects, folders, and channels it needs
  • Every profile connector was connected by signing in as the identity in a private window
  • Git access uses the GitHub App or a GitLab group token, not a personal login
  • Each app was verified with a small read that appears under the identity in the app's audit log
  • Production profiles have owners and are locked
  • A personal login is connected on any Agent Profile

Frequently asked questions