> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pocketflows.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Businesses, customers, and embeds

> How the core Pocketflows objects map onto your platform

The core Pocketflows objects mirror the shape of your platform: your project
contains businesses, and each business contains customers.

## Projects

Your API credentials, a `project_id` and `secret_key`, belong to a project.
Pocketflows provides different environments for development and production, and
you can toggle between them by using the "Test Mode" toggle at the top right
corner of your dashboard.

Some settings and guarantees are scoped to the project rather than to a single
business. For example, [idempotency keys](https://docs.pocketflows.com/reference/idempotency-keys.md) are
scoped to projects, and the
[Customer Birthdate Key](https://docs.pocketflows.com/how-to/automate-birthday-campaigns.md) is a project-level
setting that applies to every business in the project.

## Businesses

A Pocketflows `business` usually maps to one of your SMB customers. For example,
if you're Toasté, a vertical SaaS company for restaurants, a Pocketflows
`business` object would map to one of your restaurant customers.

## Customers

A Pocketflows `customer` refers to one of your customer's customers. Continuing
the Toasté example, a diner at one of the restaurants that uses Toasté would be
a Pocketflows `customer`. Customers are created within a business.

## Your identifiers

Businesses and customers each have two identifiers: `id`, the Pocketflows ID,
and `external_id`, the unique identifier you already have for that record within
your vertical software. See [How syncing works](https://docs.pocketflows.com/concepts/sync.md) for how the two
are used together.

## Embeds

A Pocketflows embed is a URL that you can add directly inside your existing
application so that your customers can create marketing without leaving your
platform.

`Embeds` provide a complete user experience for editing campaigns, email
templates, and other marketing primitives available within Pocketflows. Use
`Embeds` when you need to present a user interface to a small-business owner or
even to internal teams. An embed is created for a specific business, so what it
shows is exactly what that business would be able to see.

Anyone with an embed's URL can use it until it expires, so create it on your
server for the signed-in user. See [How embeds are secured](https://docs.pocketflows.com/concepts/embeds.md).

To add one to your application, see
[Render an embed in your application](https://docs.pocketflows.com/how-to/render-an-embed.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.