title: “Authentication” description: “Learn how Boxpressd API keys work and how to securely connect your website to Boxpressd business data.”
The Boxpressd Sites SDK uses API keys to determine which business data your website can access. Every API key is associated with a specific Boxpressd business and automatically resolves the appropriate business context, allowing the SDK to load events, reviews, check-ins, sessions, and other business-specific content without additional configuration.How Authentication Works
When your application initializes theBoxpressdProvider, the SDK uses the provided API key to:
1. Validate the key.
2. Determine the associated business.
3. Resolve the business type.
4. Load the appropriate data endpoints.
This means developers do not need to manually configure venue IDs, brand IDs, or other identifiers.
Who Can Create API Keys?
API keys may be created by:Boxpressd Staff
Boxpressd administrators can generate API keys for businesses directly through the administration panel. This is commonly used during onboarding or when assisting customers with website setup.Business Owners and Managers
Authorized business users can generate and manage API keys through the Boxpressd Business Manager. This allows businesses to provide access to: * Internal development teams * Marketing agencies * Website contractors * Third-party developersAgencies and Developers
Agencies and developers cannot create API keys unless they have been granted access by the business owner or Boxpressd staff. If you are building a website for a client, request an API key from the business you are working with.Business Types
Each API key is associated with a specific business type. Currently supported business types include:| Business Type | Description |
|---|---|
venue | Cigar lounges, retailers, and smoking establishments |
brand | Cigar manufacturers and cigar brands |