Export a project or publish it as a template
Download your project as a zip, or share it with others by publishing a template with its own settings form.
Your project is yours. You can take a copy at any time, or turn it into a template that other people can start from.
Export as a zip
- In the editor, open More actions (three dots).
- Choose Export as zip.
Your browser downloads a zip of every file in the project.
Publish as a template
Publishing creates a package in PGB Marketplace. Your project stays as it is.
- Open More actions and choose Publish as a template.
- Work through the four steps.
1. Settings. Studio reads the values in pgb.config.json and suggests them as form fields. Tick the ones people may change. For each, set a Label, a Type (text, richtext, number, color, image, file, url, email, phone, select, multiselect, boolean, collection or date), a Starting value, Required, and Choices where it applies. If you see "No settings were found", add some values to pgb.config.json first.
2. Locked files. Tick the files people should not break by accident. They can still unlock them if they know what they are doing.
3. Details. Choose the Publisher (or create one), then enter Template name (lower case), Version (such as 1.0.0), Display name, Summary, Categories, Tags and an optional About this template.
4. Publish. Choose Publish template. You see "Template published" with the package name and version, and an Open the template button.
Review
Templates contain code, so a template from an independent publisher is unlisted until PGB reviews it. The result says "It is not listed publicly yet" while it waits. You can still open and use it yourself. See Review, yank, deprecate and report.
Good to know
- You must belong to the publisher you choose. See Become a publisher.
- Secrets never go in template settings. Names that look like secrets are refused.
- Published versions cannot be changed. Publish a new version for fixes.
- Make sure you own everything in the project before you share it.
More guides in PGB Studio
Start a project from a template
Pick a ready-made template, fill in your business details in a form, watch the live preview and create your project.
Describe your app and let the AI builder start it
Type what you want in plain words and the assistant creates and edits the files for you; add your own AI key first.
Tour the Studio editor
Files, code tabs, live preview, problems list and the Assistant: what each part of the project screen does.
AI edits, undo and safety nets
What the assistant changes, how its edits are applied in one step and how to undo any of them.
History and save points
Create named save points, compare them with your current files and restore an earlier version safely.
Customise a template project later
Change your business name, colours, logo and other values after creating a project, without touching the code.