Treasury|Treasury Docs

Integrations

Treasury provides two main integration points: OAuth for authenticating users with their Treasury account, and the GraphQL API for programmatic access to Treasury resources.

OAuth

Login with Treasury allows third-party applications to authenticate users with their Treasury account. Built on OAuth 2.0 and OpenID Connect (OIDC), it provides a secure way for users to grant your application access to their Treasury resources.

Use cases:

  • Build CLIs that manage Treasury infrastructure on behalf of users
  • Add one-click deploy-to-Treasury functionality to your framework
  • Create dashboards that display project metrics and deployment history
  • Let users sign in with their Treasury account

Get started with OAuth →

API

The Treasury GraphQL API is the same API that powers the Treasury dashboard. Use it to integrate Treasury into your CI/CD pipelines and other workflows.

Use cases:

  • Automate deployments and rollbacks
  • Manage projects, services, and variables programmatically
  • Build custom monitoring and alerting
  • Create infrastructure-as-code workflows

Get started with the API →