How to install the Sigma CLI and call the Sigma REST API with OAuth

Sigma
113 views •

Learn how to install the Sigma CLI, authenticate to your Sigma organization with OAuth, and call the Sigma REST API without managing client credentials. In this walkthrough, Joshua Bowman from Sigma’s documentation team covers: Installing the Sigma CLI on Mac with the shell installer script (Homebrew also works) Verifying the install with sigma version Logging in with sigma auth login and OAuth Naming a profile and approving the CLI’s connection to your organization Checking your session with sigma -p prod auth status Exploring available commands with sigma api workbooks help Listing workbooks and data models from the terminal Because the Sigma CLI can call any endpoint in the Sigma REST API, you can use it to give AI agents a way to analyze data and build in Sigma. New to Sigma? Request a demo: https://www.sigmacomputing.com/go/request-a-demo?utm_medium=organic-social&utm_source=youtube&utm_campaign=request-a-demo&utm_content=request-a-demo&utm_term=request-a-demo Free trial: https://www.sigmacomputing.com/go/free-trial?utm_medium=organic-social&utm_source=youtube&utm_campaign=free-trial&utm_content=free-trial&utm_term=free-trial

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close