Overview
By the end of this guide, you’ll have an authenticated Intuned project that uses credentials stored securely in 1Password. You’ll learn how to:- Set up a 1Password account and create a vault for Intuned to access.
- Set up a 1Password Service Account to access your vault programmatically.
- Enable and configure 1Password integration in your Intuned project.
- Create AuthSessions using credentials from 1Password.
Prerequisites
Before you begin, ensure you have the following:- An active Intuned account.
- A 1Password account with permissions to create vaults and service accounts.
This guide assumes you have a basic understanding of Intuned Projects and AuthSessions. If you’re new to Intuned, start with the getting started guide.
When to use 1Password integration
When you create an AuthSession, you provide credentials for logging into the target website. Intuned stores these credentials securely to renew the AuthSession when it expires. However:- You may prefer not to store sensitive credentials directly in Intuned.
- If credentials change frequently, you need to update them manually through Intuned APIs.
- Sharing credentials across Projects or AuthSessions requires duplicating them.
- Keep credentials in 1Password instead of Intuned.
- Fetch the latest credentials automatically when needed.
- Share credentials across Projects and AuthSessions without duplication.
1Password integration only works in deployed environments. During local development (IDE or CLI), use test credentials instead.
Guide
1. Create a 1Password Vault with credentials
- 1Password App (Desktop)
- 1password.com
- 1Password CLI
- Open the 1Password app and sign in to your account.
- Under Vaults, select +.
- Enter name:
intuned-automation-credentialsand optionally a description. - Select Create.
- Add a new item:
- Select Login
- Name it
example-login - Username:
[email protected] - Password:
DemoUser2024!
op://intuned-automation-credentials/example-login/username and op://intuned-automation-credentials/example-login/password. You’ll use these paths later to reference the credentials in Intuned.
2. Create a 1Password Service Account
Creating a service account requires admin access to your 1Password account.
- 1password.com
- 1Password CLI
- Open the 1Password service account creation wizard.
- Follow the instructions:
- Enter a name for your service account.
- Choose the vault you created earlier.
- Make sure you give read access to the vault.
- Select Create Account.
- (Optional) Select Save in 1Password to save the service account token in your 1Password account.
1Password Service Accounts have rate limits. Intuned reads from the vault only when creating or renewing AuthSessions. Check out 1Password service account rate limits for more details.
3. Set up 1Password Service Account Token on Intuned
Set up your 1Password Service Account token as a Workspace Environment Variable:- Go to Workspace Settings > Environment Variables.
- Create a new variable with:
- Key:
OP_SERVICE_ACCOUNT_TOKEN - Value: Your 1Password Service Account token from step 2.
- Environments: Deployed only.
- Key:

You can set up the token as a Project Environment Variable if you do not want to share the 1Password Service Account across Projects. Check out Project-level environment variables for more details.
For security reasons,
OP_SERVICE_ACCOUNT_TOKEN will not be exposed to your automation code. If you want to use the 1Password SDK in your code, use a different environment variable key at your own risk.4. Create a Project with AuthSessions and 1Password integration enabled
For this guide, we use the Book consultations authenticated quickstart project. Follow the quickstart guide to create it. You should now have a project namedbook-consultations-authenticated-quickstart.
Let’s enable 1Password integration for the Project and deploy it.
- Online IDE
- CLI
Open your project in the IDE. From Files, select Intuned.json, then enable 1Password integration. Optionally add an integration name and version.

The
integrationName and integrationVersion fields are optional identifiers used by the 1Password SDK for tracking.5. Create an AuthSession using 1Password credentials
- API
- Dashboard
6. Use the AuthSession in your API
- API
- Dashboard (Playground)

