Quickstart Guide
How to quickly and easily get started with the template
Step 1: Set up your homepage
Our Canvas template includes a fully functional homepage maker. App owners can manage and customize their homepage content from the Owner’s Portal without needing to modify the app index page through the Bubble editor.
To set up your homepage:
Go to your app (https://bubble.is/page?id=**YOURAPPNAME**\)
Click on the
Data
tab >App data
tab >Users
data objectClick
run as
next to the user [email protected] (any user that has theOwner
field asyes
will be able to access the Owner’s Portal page)On the Owner’s Portal page, click on the Homepage tab to customize your homepage content
For more information on how to setup your homepage, click here.
Step 2: Set up your email
This template does not use Bubble’s native “send email” functionality, but instead it uses an API workflow that generates a nicely-formatted HTML email from SendGrid.
To set up your email:
Navigate to SendGrid and sign up for a free account
Once you are in the SendGrid dashboard, click on the
Settings
tab >API keys
tabSelect
Create API key
>General API key
and fill out the subsequent formSave your API key somewhere (you will not be able to view it again)
Go to your app (https://bubble.is/page?id=**YOURAPPNAME**\)
Go to the
Plugins
tab >API connector
>SendGrid API
> Expand send email API callUnder
Headers
enter the following:Key:
Authorization
| Value:Bearer yourapikey
| PrivateKey:
Content-Type
| Value:application/json
| Private
To update the admin email for the app:
In run-mode, go to the owner's portal
From the
IDENTITY
tab, find the input for "ADMIN EMAIL"Update this with the relevant email address and save your changes
Step 3: Register your app with Canvas Portal
You can easily add fully responsive pages and modules to your app by registering your app with our Canvas Portal.
To register your app:
Go to your app (https://bubble.is/page?id=**YOURAPPNAME**\)
Go to the
Settings
tab >Collaboration
tab > add [email protected] as a collaboratorGo to the Canvas Portal and sign up or log in to your account (please use the same email address you are using for your Bubble account)
Go to
MY APPS
tab to view all of your registered apps with Canvas PortalAfter your app is registered, you can click
VIEW DETAILS
to add a page, update your app colors, or connect with an AirDev partner
Step 4: Migrate your Bubble database to live mode
When you first access this template, you will be viewing the Development version of the database. While this database version is sufficient for designing, building, and testing your application, it is highly recommended that you deploy all app updates to live and migrate your development database to the production database before launching your app with real users.
Switching your database view from development to live
When viewing your application's data (through Data
> App data
in the Bubble editor), it is critical that your data view matches the version of your app that you are examining. To switch views between the Development and Production database, simply click the red "Switch to Live" (or "Switch to Dev.") button in the top right.
Copying over your database from development to live (and vice versa)
After you initially deploy your app to live, please copy over the development database to the production version.
While its not critical to migrate every piece of test data to the live version, there are certain data types (and instances of those data types) that are necessary to retain in both versions for various reasons
Because of this, it is highly recommended that you copy over the entire database and then delete certain bits of test data that are not needed
In any case, there are a few data types you'll want to make sure you've copied over
Each database version should include exactly one instance of the
Website
data typeIf you want to retain the ability to customize your homepage, make sure you've copied over all 11 entries for the
Homepage block
data typeSimilarly, if you want to retain the specific blocks of content you've configured for the homepage, make sure you've copied over all entries for the
Block entry
data type
To copy over database versions, click the red "Copy and restore database" button in the top right.
From this modal, select the option for Copy development data into the live database
Next, choose All types
After you've made sure you've selected the appropriate options, type in the requested text and click to confirm the migration
Other critical things to note
Groups on the same page should be stacked vertically (not overlapping)
Use Canvas app reusables elements to reduce redundancy in workflows
Store results of URL parameters, search results that to be referenced in multiple places, or calculation results based on an input on the page in the “Hidden variables” popup on each page
Privacy rules need be to set up for all new objects created
Last updated