# Article Name 4 Ways to Check License Counts in OneLogin # Article Summary Explore four methods to check license counts in OneLogin, helping admins monitor usage, plan allocations and stay compliant # Original HTML URL on Toriihq.com https://www.toriihq.com/articles/how-to-find-license-count-onelogin # Details Keeping track of how many OneLogin seats your company uses can feel like a moving target. New hires appear, contractors leave, test accounts linger, and the bill never forgets. This guide walks through four easy ways to pull real-time license counts so you can spot overages early, forecast expansion, and show auditors a clean dashboard. ## Use OneLogin's UI Here, you’ll use the OneLogin Admin portal to check how many licenses, also called 'seats', your company now consumes. ### 1. Sign in to the Admin portal - Sign in with an Account Owner or Super Admin account. - The dashboard appears after multifactor authentication if your org requires it. ### 2. Open the Account menu - In the top navigation bar, choose Account. - A drop-down or new page opens with several tabs. ### 3. Go to the Usage page - Within the Account view, click Usage. OneLogin’s documentation notes this page as the source for live license data. ### 4. Read the license numbers On the Usage page you’ll see two key counters: - Active Users this Billing Cycle: every unique user who has logged in during the current cycle. - User Licenses (or Seats Purchased): the total seats your plan allows. The gap between those two figures shows how many seats remain before you reach your limit. ### 5. (Optional) Export the data - Select Download CSV in the upper-right corner when you need the counts for audits or reports. - Open the file in Excel or Sheets so finance or leadership can review it. That’s all you need to locate your OneLogin license totals and pull the numbers whenever they come up. ## Use Torii Instead of accessing OneLogin directly, consider using Torii [https://www.toriihq.com/], an SaaS management platform, to pull your OneLogin license totals. Torii brings every SaaS subscription into one place, so you have a single dashboard for all your cloud apps. To pull your OneLogin license numbers from Torii, follow these steps: ### 1. Sign up for Torii Contact Torii [https://www.toriihq.com/] and request a free two-week proof of concept. Their team will spin up your instance quickly, enabling you to start testing features and workflows without delay. ### 2. Connect your OneLogin account to Torii Once your Torii environment is ready, connect your current OneLogin tenant through the integrations page in a few clicks. You can follow these instructions for the OneLogin integration [https://support.toriihq.com/hc/en-us/articles/5165027185435]. ### 3. Search for OneLogin within Torii Use the search bar at the top of the Torii dashboard to find “OneLogin.” The app page shows license counts, spend, next renewal date, and other useful details that help you plan renewals and budgets. ### Or, chat with Eko Looking for the OneLogin details stored in your Torii dashboard? Just open Torii’s AI helper, Eko [https://www.toriihq.com/eko]. Tap the Eko icon in the bottom-right corner, type your request for OneLogin info, and Eko returns the data right inside the chat window. ## Use OneLogin's API This flow calls OneLogin’s OAuth 2.0 token service and the Users endpoint. The user count the API returns equals the number of active licenses in your tenant. ### 1. Get an access token - Send a POST request to https://api..onelogin.com/auth/oauth2/v2/token. Replace ` with us or eu, depending on where your tenant lives. - Use the JSON body below. Swap in the Client ID and Secret from your API credential. - The response payload contains an accesstoken. Copy that token; you’ll need it in the next call. ### 2. Ask for only active users OneLogin marks active users with status 1. Request a single record (limit=1) and let the headers do the counting. ### 3. Read the X-Total-Count header - The call returns one user object, and the header X-Total-Count shows how many active users match the filter. - That number is your current license usage. Example headers: 134 active users = 134 consumed licenses. That’s it. No extra looping or data crunching, just a quick header peek. ## Use Claude (via MCP) Pull the same data straight from Claude by calling the Model Context Protocol (MCP). Claude is Anthropic’s AI assistant and an alternative to ChatGPT. To check your OneLogin license totals inside Claude, follow these steps: The quick setup only takes a minute and lets you keep license data current without manual exports. ### 1. Set up Torii Use the earlier Torii [https://www.toriihq.com/] instructions linked above to connect your OneLogin account so Torii can begin syncing data. After linking, open the Settings page and generate a fresh API key for the upcoming MCP connection. ### 2. Set up MCP in Claude Start by reading the official Torii MCP documentation [https://www.npmjs.com/package/@toriihq/torii-mcp?activeTab=readme], which covers installation and all essential configuration details. A companion blog post [https://www.toriihq.com/blog/introducing-model-context-protocol-in-torii] breaks the process down step by step. Download the Claude Desktop application, then add the snippet below to your claudedesktopconfig.json file so Claude knows where to pull data: The API key you generated in Torii Settings goes in place of YOURAPI_KEY`, and the change takes effect immediately. ### 3. Chat with Claude With everything connected, you can converse with Claude directly about your Torii instance. Ask it to review your OneLogin setup and provide details such as the number of active licenses, total spend, upcoming renewal dates, and more. ## Torii for SaaS Management Looking to regain full control over your growing SaaS stack? Reach out to our team. With Torii’s SaaS Management Platform you can: - Uncover shadow apps: Continuous monitoring spots unapproved tools the moment they appear. - Trim expenses: Reclaim idle licenses and merge overlapping software to cut waste. - Automate joiners/leavers processes: Onboarding and offboarding run automatically, saving hours and avoiding errors. - Never miss a renewal: Early alerts keep every contract deadline front and center. Torii brings Finance, IT, and Security teams one shared source of truth for SaaS. Explore the full platform and customer stories at Torii [https://www.toriihq.com].