How to configure a component bundle
This section is for instructions regarding configuring a PageBuilder Engine bundle and getting it running for the first time.
Setting up a Base Content Source
In the root directory of your new PageBuilder Engine bundle, you will find the .env file. Ensure that the values for the following variables are filled in correctly:
CONTENT_BASE=https://api.[environment].[organization].arcpublishing.com ARC_ACCESS_TOKEN=[TOKEN]
For more information on obtaining an access token, check out How to Define an Arc XP Content Source
Populating the Admin Database
In order to populate existing configuration options the PageBuilder Admin relies on such as pages, templates, resolvers, and more, you'll need values for your database. If you are OK starting all this from scratch (for instance, with no data), you can skip this section.
You'll need to find an existing PageBuilder instance to download a database copy from. You can navigate to an existing PageBuilder instance from Arc Admin, or simply use PageBuilder Staging if you don't have an existing PageBuilder instance you'd like to pull data from.
Download the latest tar file by navigating to PageBuilder Editor > Developer Tools > Data Center, and clicking Download PageBuilder Data.
Drop the
.tar.gz
file into your PageBuilder Engine repo's/data/restore
directory. The next time you run PageBuilder Engine (or if you're already running it), PageBuilder Engine will restore the values in this tarball as those in your DB.You can confirm the data restoration worked by going to the "Pages" Section Of PageBuilder Admin to see a list of pages that were in your DB dump (assuming you had some).