Skip to main content
This guide creates a development application and uses its key to search the Boxpressd cigar catalog.

Prerequisites

  • A Boxpressd account
  • A server environment that can keep an API key private
  • curl or another HTTP client
1

Create a developer application

Go to developers.boxpressd.com and sign in with Boxpressd.Open My Apps, select New application, and enter an application name and description. Select at least one starter use case:
  • Search & discovery for catalog search and lookup
  • Connected Boxpressd app for OAuth user access
  • Data integration for server-side integrations
Click Create development app. Starter use cases recommend products and scopes. They do not restrict your application.
2

Create a development key

Open the application, then open Credentials. Enter a key name, choose Development, and optionally set an expiration date. Click Create API key.Copy the complete bxp_test_... value immediately. The dashboard shows it only once.
3

Store the key on your server

Add the key to your server environment:
Never place a developer key in browser JavaScript, an EXPO_PUBLIC_* or VITE_* variable, a native application bundle, or source control.
4

Search the catalog

Send the key in x-boxpressd-key:
A successful response contains published cigar records and cursor pagination:
origin is a canonical country string. Composition fields are arrays and use [] when source data is absent. See Cigar composition before displaying or processing these fields. Next, use the official JavaScript client from ESM or CommonJS, read Authentication, try GraphQL, configure OAuth for user-specific data, or identify a cigar from a band image.