Skip Navigation
Show nav
Heroku Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log inorSign up
View categories

Categories

  • Heroku Architecture
    • Dynos (app containers)
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
  • Command Line
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery
    • Continuous Integration
  • Language Support
    • Node.js
    • Ruby
      • Rails Support
      • Working with Bundler
    • Python
      • Background Jobs in Python
      • Working with Django
    • Java
      • Working with Maven
      • Java Database Operations
      • Working with the Play Framework
      • Java Advanced Topics
      • Working with Spring Boot
    • PHP
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
    • Heroku Data For Redis
    • Apache Kafka on Heroku
    • Other Data Stores
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
    • Compliance
  • Heroku Enterprise
    • Private Spaces
      • Infrastructure Networking
    • Enterprise Accounts
    • Enterprise Teams
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Single Sign-on (SSO)
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
  • Add-ons
  • All Add-ons
  • CloudBoost
CloudBoost

This add-on is operated by CloudBoost

One complete backend-as-a-service to build your app in half less time.

CloudBoost

Last updated October 09, 2019

The CloudBoost add-on is currently in beta.

Table of Contents

  • Installing the add-on
  • CloudBoost Dashboard
  • Using with JavaScript / Node.js
  • Backups
  • Help!
  • Support
  • Status monitoring
  • Additional documentation

CloudBoost is an add-on providing backend and MongoDB database as a service. CloudBoost is a complete backend as a service which does data-storage, search, real-time, push notifications, offline sync, and a whole lot more, saving you as much as half of the time when you’re building your app.

CloudBoost has client libraries for Node.js and JavaScript applications.

Installing the add-on

CloudBoost can be attached to a Heroku application via the CLI:

A list of all plans available can be found here.

$ heroku addons:create cloudboost
-----> Adding cloudboost to sharp-mountain-4005... done, v18 (free)

Once CloudBoost has been added a CLOUDBOOST_APP_ID,CLOUDBOOST_MASTER_KEY, CLOUDBOOST_CLIENT_KEY setting will be available in the app configuration and will contain the credentials used to access the newly provisioned CloudBoost service instance. This can be confirmed using the heroku config:get command.

$ heroku config:get CLOUDBOOST_APP_ID

After installing CloudBoost, you can then use the client libraries to implement the service in your application.

CloudBoost Dashboard

CloudBoost provides helpful web tools that allow to you query and interact with the data stored in your CloudBoost database. To access your database using our web tools, we nave provided integration with your Heroku log in, allowing you to access our app using your Heroku credentials. To do this, you will need to:

  • Log into your Heroku account.
  • Once logged in, click on the appropriate app.
  • Click on the dropdown labeled “Add-Ons” in the top-right of the screen.
  • Select CloudBoost.

Using with JavaScript / Node.js

CloudBoost SDK gives you access to all of the CloudBoost Backend as a Service features like data-storage, search, real-time, push notifications, offline sync, and a whole lot more. JavaScript applications including Node, AngularJS, ReactJS, Ionic, Phonegap can use CloudBoost JavaScript SDK to implement the service in their apps. To install the SDK you need to :

<script src="https://cloudboost.io/js-sdk/cloudboost.js"></script>

/*
   *Init your Application.
   *We recommend using Client Key if you're using the SDK for the Client side app.
   *You can find your App ID and Keys in the
   *Heroku App Environment Variables or on CloudBoost Dashboard
   *IMPORTANT : Never use Master Key on your client side app.
*/
CB.CloudApp.init('YOUR APP ID', 'YOUR CLIENT KEY');

in the main HTML file of your app.

or if you’re using NodeJS or Browserify, you can…

$ npm install cloudboost --save
var CB = require('cloudboost');

//Init your Application. We recommend using Master Key on your NodeJS Server.
CB.CloudApp.init(process.env.CLOUDBOOST_APP_ID, process.env.CLOUDBOOST_MASTER_KEY);

Before you start using CloudBoost, you need to find your App ID and Client Key / Master Key from your Heroku Config.

If you’re using the SDK on the client - we recommend that you use the Client Key

$ heroku config:get CLOUDBOOST_CLIENT_KEY

If you’re using the SDK on the server - we recommend that you use the Master Key

$ heroku config:get CLOUDBOOST_MASTER_KEY
//Data Storage : Create a CloudObject of type 'Custom' (Note: You need to create a table 'Custom' on CloudBoost Dashboard)

var obj = new CB.CloudObject('Custom');

//Set the property 'name' (Note: Create a column 'name' of type text on CloudBoost Dashboard)
obj.set('name','CloudBoost');

//Save the object
obj.save({
    success:function(res){
        console.log("object saved successfully");
    },
    error:function(err){
        console.log("error while saving object");
    }
});

Backups

We take (and maintain) daily snapshots of all databases hosted on the CloudBoost platform.

What if I have an issue?

If there is ever a serious issue or error and you need assistance, please contact CloudBoost Support at: support@cloudboost.io. It is most helpful if you include the CLOUDBOOST_APP_ID in your Heroku configs when you send us a note. That will ensure that we can act swiftly to restore data.

Help!

Common Issues

All the sudden, I can’t connect to my CloudBoost app? Wat!

If your app can no longer connect to your CloudBoost app, it may mean that CloudBoost or Heroku services are temporarily down. For status monitoring, please check Heroku Status at: http://status.heroku.com or CloudBoost Status at http://status.cloudboost.io/. If you still cannot connect to your app, we recommend going to the CloudBoost Admin Dashboard and changing your App Keys.

If the problem persists, talk to us at support@cloudboost.io

Support

At CloudBoost, we have a talented and friendly team and are always happy to support you as you develop with Heroku and our API. Feel free to reach out to us at: support@cloudboost.io. Make sure to include your App ID which can be found using.

$ heroku config:get CLOUDBOOST_APP_ID

All service instances on Heroku are supported by 24/7 support.

Status monitoring

For support requests, please contact Heroku Support. For status monitoring, please check Heroku Status or CloudBoost Status.

Additional documentation

Additional documentation, covering other topics about CloudBoost can be located at https://tutorials.cloudboost.io.

A CloudBoost quickstart is available in our documentation.

Keep reading

  • All Add-ons

Feedback

Log in to submit feedback.

Ziggeo Cloudcube

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Podcasts
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing

Subscribe to our monthly newsletter

Your email address:

  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Heroku Podcasts
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Facebook
  • Instagram
  • Github
  • LinkedIn
  • YouTube
Heroku is acompany

 © Salesforce.com

  • heroku.com
  • Terms of Service
  • Privacy
  • Cookies
  • Cookie Preferences