Projects
Your API credentials, aproject_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 are
scoped to projects, and the
Customer Birthdate Key is a project-level
setting that applies to every business in the project.
Businesses
A Pocketflowsbusiness 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 Pocketflowscustomer 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 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.
To add one to your application, see
Render an embed in your application.