Setup Guide

This guide is the beginning of the documentation with the built-in Notes for database. Will help you gain a better understanding of how the template and Bubble works.

Starting with the Template

Once you have bought or added a template to your account, you will see a dropdown in the New Application popup that lets you pick a template as the basis for the new application.
Note: this can only be done when you create a new app.
Image without caption
After you've selected a template you bought, complete the other fields with necessary data (i.e: Name of the new app, What kind of application you are building, etc) and press Create a new app.
💡
Tip: A template isn't a theme for your app, but a pre-built set of elements and workflows. You can modify the template as you would modify another app.
Wait for Bubble to load the application with all the data.
Image without caption
After the application has loaded, you'll see the bubble assistant on the right side for New Application. You can close it or follow the assistant steps to adjust different settings.
Image without caption
Congrats! You have successfully created a Bubble app based on your template. Now, you can proceed with the setups and dive into Bubble no-code development toolset.

Payments

This template uses Coinbase Commerce for both cryptocurrency funding and withdrawals and Stripe (Card Payments) for funding only.
Funding is adding money by the users to their own Investy wallet (account balance) to be able to make an investment.
Note: There is also Voguepay API configured for withdrawals, but to use it you'll have to create workflows first.
Note: There is also Paystack API configured for funding but currently, it is disabled. Find the instructions on how to enable it below.
⚠️
Stripe Plugin Integration for Card Payments. Stripe Global - https://stripe.com/global

Stripe

This template is using the Bubble's Stripe plugin for card payments, by users to add money to their Investy wallet (account balance) to make an investment. Please follow the Stripe payments instruction below to configure.
1. Click on the "Developers" button and then, "API keys" button. Copy your API key. Ensure to use a live API key when your template goes live.
⚠️
Payments: See the full documentation on how to set Stripe Payments in Bubble App.
Paste the API keys in the Stripe plugin as well as in the API connector for the Stripe Custom (don't forget to add "Bearer " for the last one).
2. The second step is to configure the API Connector plugin within your editor.
Go to Plugins -> API Connector -> Stripe Custom API and hit to expand it, here:
Image without caption
The API will expand, where you will be able to configure it with your own API keys, here:
Image without caption
⚠️
Add Bearer keyword in front of the keys values. And remember to change to Live keys when you decide to go live with your app.

Coinbase Commerce

Coinbase Commerce is used by users to add cryptocurrency to their Investy wallet (account balance) to make an investment and withdrawal cryptocurrency.
  • Visit https://commerce.coinbase.com/ and sign up. You will be given a mnemonic seed to use to create a new crypto wallet. Do that and be sure to back up the seed.
  • Go to settings in your Coinbase commerce, scroll to whitelisted domains and add your root domain. Example https://myinvest.bubbleapps.io Be sure to add your live domain when you go live.
  • Copy your API key and use it for the Coinbase Commerce API connector call in plugins.
  • Go to Settings -> API in Bubble to generate an API token to use below.

Voguepay (optional, just API calls configured)

Voguepay is used by users to add money to their Investy wallet (account balance) to make an investment.
  • Locate the merchant ID in your Settings and copy it.
  • Open dashboard page in your Bubble editor, search for the element HTML Voguepay and replace the merchant ID parameter inside the code snippet with the one you copied from you Voguepay settings. You can also change your currency here (supported currency codes: NGN - Nigerian Naira, USD - US Dollar. EUR - Euro, GBP - British Pound). For more details please go to https://documentation.voguepay.com.
  • Create workflows for withdrawal via Voguepay.
Image without caption
Note: You will be allowed to access your Voguepay dashboard once you have successfully verified your email address and activated your account.

Paystack (optional, disabled configuration)

Paystack is used by users to add money to their Investy wallet (account balance) to make an investment.
💡
Tip: We strongly recommend following the API documentation provided by Paystack for more details: https://paystack.com/docs/api
Now it's disabled, but can be enabled and configured.
To enable:
  1. Remove conditional for "Pay with card" button Current date/time is empty on dashboard page win workflows Tab
  1. Click on the "Pay with card" button and edit the workflows
Image without caption
​ 3. Enable step 2, change steps 6,7 accordingly for Paystack API Transaction where amount and fundingID should be -> ex <Result of Step 2> '
Image without caption
4. Remove step 4 which the action related to Stripe in the workflow
Image without caption
💡
Tip: Please note and be cautious, that thus you enable Paystack and remove Stripe for this template.
We have configured Paystack API calls. To use Paystack in your app, please follow these steps:
  • Go to Settings > Developer;
  • Under API Keys and Webhooks get your Test and Live keys respectively.
Note: In order to obtain your Live keys, you will need to register a business account.
Once you want to proceed working with real money, you need to activate a Paystack Starter Business account: https://support.paystack.com/hc/en-us/articles/360009972779-How-do-I-activate-my-Paystack-Starter-Business- and update the API keys in your application.
After this, the corresponding error ("You cannot initiate third party payouts as a starter business”) should disappear.
⚠️
VoguePay and Paystack integrations are regionally restricted. Please check their location of business. (Optional)
Paystack payments for Africa - https://paystack.com/
Voguepay empowers businesses in Africa - https://www.voguepay.com/

Google Plugin

In order to make the Sign in with Google option work properly, it is required to configure the Google plugin within your Bubble editor.
⚠️
Google: See the documentation on how to set the Google Plugin in Bubble.

Facebook Plugin

In order to make the Sign in with Facebook option work properly, it is required to configure the Facebook plugin within your Bubble editor.
⚠️
Facebook: See the documentation on how to set the Facebook Plugin in Bubble.

Random String Generator Plugin

This plugin is used for generating random strings. This is a free plugin that requires API key configurations.
🔗
Random String Generator: See the instructions on how to set the Random String Generator Plugin in Bubble.

Remove Demo Login

This template comes with demo accounts and demo buttons for testing purposes, which do not require a full sign-up process in order to test the platform features.
In order to delete demo items, follow the instructions:
💡
Tip: Please note that deleting the demo buttons will delete the button workflows as well. Removing these demo options doesn't affect any other aspect of the template.
  • Go to the Index page, find and delete the "Guest login" button:
Image without caption
  • Go to the login page, find and delete the "Login Guest" button:
Image without caption
⚠️
Admin: See the instructions on how to grant Admin Rights in your template.

Remove Banner

‌‌This template comes with a promotional banner at the very top of each page. Feel free to remove it from your app.
⚠️
Banner: See the instructions on how to remove the Rapid Dev Banner in your template.