Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Welcome to the Beefree SDK technical documentation!
Beefree SDK is a toolkit that offers a comprehensive set of features to enable your application's end users to achieve their design goals. Through embedding Beefree SDK into your application, you'll provide your end users with access to a full suite of design features that include the following and more:
Email builder: A no-code interactive and guided experience that supports your end users in creating beautiful and stunning emails quickly.
Page builder: A no-code intuitive experience that guides your end users through how to create visually stunning landing pages they can use to present information, embed forms, and capture critical data points to make data-driven decisions.
Popup builder: A unique no-code experience that provides your end users with the fundamentals of creating popups that grab and maintain attention.
File manager: A tool to manage media assets (images, PDFs, and so on).
Template catalog: A catalog of design templates that integrate industry best practices to support end users in getting across the finish line with their creations fast, and achieving quick design wins.
Custom AddOns: Expand your application's offering by developing your own Custom AddOns on top of our comprehensive suite of features.
AI Writing Assistant: A helpful AI assistant to help end users write their design content.
These builders can easily integrate into your application in a matter of minutes. Browse the latest sample code, implementation guides, and other available features in this documentation.
Learn more about our three embeddable builders.
In addition to our drag-and-drop editors, we also offer a standalone File Manager application, which can be used alongside any of the builders. The File Manager is specifically designed to simplify the organization and management of digital assets, which might happen outside of a content editing session. It is an image and document management user interface that can be launched as a standalone application. This allows your customers to quickly upload or manage assets, without having to load one of the builders.
Learn more about our File Manager and File Storage Options.
Learn more about how our builder AddOns can help you customize your application's offerings.
The Content Services API allows you to perform a number of tasks (e.g. refreshing the HTML for a certain asset) and add features to your application (e.g. converting an email to a PDF document). We continue to release new API methods to help you enrich and personalize the content design experience for your customers.
The Template Catalog API enables you to incorporate design templates into your application. With this API, you can browse, retrieve, and utilize a variety of pre-designed templates to enhance your user's content creation experience. It gives you the flexibility to offer customized design solutions directly within your platform.
Learn more about Content Services API and Template Catalog API.
Browse our sample code to experiment and gain hands-on experience. Get up and running quickly with a simple implementation.
Get your free Client ID and Client Secret in the Developer Console to get started. Experiment with customizing a configuration in the playground. When you're ready, install Beefree SDK.
These products share the same, unique combination of design flexibility and ease of use. Note that the majority of the documentation applies to all builders (and in many cases to the File Manger too), unless otherwise specified.
If you need support at any point throughout your integration, contact us. We are here to support you along the way.
Install Beefree SDK to get started with your implementation.
Use the command npm i @beefree.io/sdk
to install the Beefree SDK library into your project.
Take the steps outlined in this section to initialize your application.
The embedded application (email builder, page builder, popup builder, file manager) will load into any HTML element on your page.
We recommend starting with an empty div, as follows:
Beefree cares about your security. This is why we use a standard JSON Web Token, or JWT, to authenticate your application.
To authenticate your application, pass your Client ID and Client Secret to our authorization service, and we’ll send your unique token back to you.
Now that you have a token, you can initialize the application into your empty div.
To do so, you will call the create
method, which has three parameters:
token
This is the result of the previous step.
config
This contains your settings and event handlers.
callback
This is a function that receives the application instance
Here is an example in plain JavaScript:
The final step is to start the application, using the start
method.
If the application is one of the builders, do so by loading a template.
If the application is the File Manager, no parameters are needed.
Call the start
method as follows:
The instance method bee.start(template)
does not need to be called immediately after create
. In a SPA (Single Page Application) or React app, you can create
the editor in a hidden global state but then call the start
method when the template is selected and available.
The application loads quickly when all steps are completed consecutively. However, by separating the loading workflow into two parts, the end-user will perceive loading in a fraction of the overall time.
Remember, if the client_id
belongs to a File Manager application, bee.start()
can be called without any parameters.
Learn how to create an application within the Beefree SDK Developer Console.
This article will cover steps for the following processes:
Complete the required information to sign up or login.
You will be redirected to the dashboard.
In the dashboard, click Add new subscription.
You will be redirected to a page that asks you to provide a name for your new subscription.
Type in a name and click Next.
You will be redirected to a page that asks you to select a subscription plan. If you'd like to subscribe to the Free version, click on the corresponding Select plan button Free plan type. If you'd like to subscribe to a paid plan, select the paid option that works best for your needs.
A confirmation message will appear confirming that you selected the Free plan and that you will not be charged anything. Click Confirm to confirm your subscription the the free plan.
While the plan is free, ensure that you familiarize yourself with the scenarios in which charges would apply. The following image shows a plan summary displaying instances of when charges apply.
Enter and confirm your billing address.
Enter and confirm your card information by clicking Place Order.
You will be redirected your new Free plan subscription.
You will have the option to activate any or all of the following applications:
Take the following steps to create an application:
Click the Activate button that corresponds with the application you'd like to create.
Type in a name for your new application.
Click Create.
Your application will look like the following in the dashboard once it is activated:
You have successfully created an application. Now, you can enter the application Details and obtain your Client ID and Client Secret.
Click on your application's Details button to view your Client ID and Client Secret. Use these to authenticate when you initialize it.
Reference the following related topics to learn more about customizing your applications, creating development instances, and referencing sample code.
This feature applies to paid plan types.
Inside the Beefree Developer Console, you have the option to regenerate the Client Secret for your application. To regenerate your application's Client Secret, take the following steps:
Navigate to the application you'd like to update the Client Secret for.
Click on the application's Details button.
Navigate to Application keys within the application's details.
Click Regenerate to generate a new Client Secret.
You will be prompted to a modal and asked to confirm your application's name.
Complete the App Name field and click Regenerate to complete the action.
Your new Client Secret is now available and ready to use. Your old Client Secret will expire 24 hours after creating the new one. Ensure you replace it in all the necessary environments prior to its expiration.
For 24 hours after regenerating a new Client Secret, you will temporarily have access to two Client Secrets—your old one and your new one. After 24 hours, you will only have access to the new Client Secret for your application.
Congratulations on ! Now it’s time to install it. The first step is to add the Beefree SDK library to your application. You can use to add it .
We talk about this step in detail , but here’s a quick example:
The following table shows all of the required :
Attribute | Type | Description |
---|
In this article, we will discuss how to sign up for an account in the , create an application, and obtain your Client ID and Client Secret.
The first step to embedding Beefree’s visual builders in your software is to.
Take the following steps to sign up for a Beefree SDK account and subscribe to the :
Navigate to the .
Note: If you already have an account, navigate to the .
Important: Keep in mind that Beefree SDK will not change you for using the Free plan. However, there are charges related to . Ensure you review our plans and familiarize yourself with these cost structures as you proceed to use the Free plan.
Once that’s done, you will be able to . Your dashboard will look like the following image.
With your Client ID and Client Secret, you can use our to experiment with a simple integration of Beefree SDK. You can also get started with .
Log in to the .
Create