# Article Name 4 Ways to Check License Count in Your Salesforce Account # Article Summary Discover four methods to check the license count in your Salesforce account for effective team management and resource allocation. # Original HTML URL on Toriihq.com https://www.toriihq.com/articles/view-license-count-salesforce # Details Managing your team’s resources effectively in Salesforce involves knowing how many licenses you have. Understanding your license count can help you assign the right tools to the right people and keep everything running smoothly. In this article, we’ll explore four different methods to check your license count in Salesforce. Whether you're a seasoned admin or just starting out, these steps will guide you to gain valuable insights into your organization's resources. ## Use Salesforce's UI You can check your remaining Salesforce licenses without leaving the app. No code or API work required. ### Step 1. Open Setup - Click the gear icon in the Lightning Experience header. - Select Setup. In Salesforce Classic, the Setup link sits at the top. ### Step 2. Jump to Company Information - In the Quick Find box on the left, type Company Information. - Click the matching result. ### Step 3. Read the User License table - On the Company Information page, scroll to User Licenses. - Each row lists the license type, total seats, seats in use, and seats left. For example, entries such as Salesforce, Salesforce Platform, or Identity Only will appear. ### Step 4. Check Permission Set and Feature licenses (optional) - Just above or below User Licenses, locate Permission Set Licenses and Feature Licenses. - Click View All if the list is truncated. - The same columns (Total, Used, Remaining) reveal whether you’re near the limit for add-ons such as CPQ or Inbox. ### Step 5. Download a complete list (optional) - On User Licenses, choose View All. - In the new window, click Download to grab a CSV copy. - The file mirrors the counts you just viewed and works well for audits or spreadsheets. Your counts are recorded, and the task is complete for now. Close Setup when you're done, or leave it open if you're ready to free up seats immediately. ## Use Torii Instead of accessing Salesforce directly, consider using Torii [https://www.toriihq.com/], a SaaS Management Platform that helps track your license counts within Salesforce. SaaS Management Platforms offer a comprehensive view of your software subscriptions, providing a dependable source of information for all your SaaS applications. Check your license count in Salesforce through Torii by following these steps: ### 1. Register for Torii Contact Torii Sales [https://www.toriihq.com/info/request-a-demo] to request a complimentary two-week proof-of-concept. ### 2. Link your Salesforce account with Torii Once your account is active, connect Salesforce with Torii, assuming you have an existing account. Follow these guidelines for integrating Salesforce [https://support.toriihq.com/hc/en-us/articles/5195073819035-Salesforce-Integration]. ### 3. Look up Salesforce within Torii Use the search function at the top of the Torii dashboard to find Salesforce. This will take you to your Salesforce overview, where you can view important details about your account, such as total licenses, spending, upcoming renewal dates, and more. ### Or, chat with Eko Torii's AI assistant, Eko [https://www.toriihq.com/eko], helps you find Salesforce details right within the Torii platform. Click the Eko icon at the bottom right corner of your dashboard and ask Eko to pull up information about Salesforce. You’ll get the relevant data directly in the chat interface. ## Use Salesforce's API Check how many licenses you own and how many are in use without opening Salesforce. ### 1. Get an access token - Send an OAuth token request to https://login.salesforce.com/services/oauth2/token (or test.salesforce for sandboxes). - Include clientid, clientsecret, username, password, and granttype=password (or use a refresh token flow). - Store the returned accesstoken and instanceurl. ### 2. Build a SOQL query The UserLicense object holds the counts you want (TotalLicenses and UsedLicenses). Docs: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforceapiobjectsuserlicense.htm Example SOQL: ### 3. Call the REST query endpoint Replace v58.0 with the API version your org supports. ### 4. Read the response Salesforce returns JSON like: Subtract UsedLicenses from TotalLicenses to find the remaining allotment. ### 5. Zoom in on one license type (optional) Need just the Salesforce Platform count? Add a WHERE clause. That’s it. You now have live license numbers coming straight from the API. ## Use Claude (via MCP) You can obtain this information directly through Claude by using the Model Context Protocol (MCP). Claude is Anthropic's AI chatbot and serves as a competitor to ChatGPT. To check the license count in Salesforce with Claude, follow these steps: ### 1. Configure Torii Refer to the earlier Torii [https://www.toriihq.com/] instructions to link your Salesforce account with Torii. ### 2. Set up MCP in Claude Consult the Torii MCP documentation [https://www.npmjs.com/package/@toriihq/torii-mcp?activeTab=readme] for guidance. There’s also a blog article [https://www.toriihq.com/blog/introducing-model-context-protocol-in-torii] that covers this topic in detail. Install the Claude Desktop application, then include the following in your claudedesktopconfig.json file: You can create this API key from the Settings section in Torii. ### 3. Engage with Claude Once everything is set up, you can interact with your Torii setup through Claude. For instance, you might ask about your Salesforce account, including how many licenses you have, your spending, and details on the upcoming renewal. ## Torii for SaaS Management If you're looking to explore SaaS Management further, get in touch with us. Torii's SaaS Management Platform helps you with: - Discovering hidden applications: Our AI technology thoroughly scans your organization for any unauthorized software. This process runs in real-time and operates smoothly in the background. - Reducing expenses: Cut costs by eliminating unnecessary licenses and resolving tool redundancies. - Streamlining onboarding and offboarding: Improve efficiency and reduce errors by automating your IT workflows, especially during onboarding and offboarding. - Receiving renewal notifications: Stay updated on important contract renewals to avoid missing key deadlines. Torii is the leading all-in-one SaaS Management Platform, providing a comprehensive overview for Finance, IT, and Security teams. Learn more by visiting Torii [https://www.toriihq.com].