No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Create the App
In this step, you’ll create both the Heroku “hello world” app and the associated canvas app in your Salesforce organization.
- In Salesforce, from Setup, click .
- Click Heroku Quick Start.
- In the Template field, select Java – Quick Start Template.
- In the Canvas App Name field, enter a unique name of up to 30 characters.
- In the Heroku App Name field, enter a unique name of up to 30 characters that begins with a letter and contains only lowercase letters, numbers, and dashes. The newappName must be unique across all Heroku apps. This name becomes part of the URL for your app, for example, newappName.herokuapp.com.
- In the Heroku Username field, enter the username for the account used to log in to Heroku. This is typically an email address. The Heroku app is created under this user’s credentials.
- In the Heroku Password field, enter the password for the account used to log in to Heroku.
- Click Create. The app displays in
the left navigation pane.
If you see an error like “Error [Read timed out] executing POST to Heroku clone REST service,” this means the operation has timed out trying to contact Heroku. You can check the status of Heroku at http://status.heroku.com.
- Click the link to your new app on the left.
The app appears and you’ll see the message Hello User.FullName, as well as other information about the current user.
You just created a canvas app—congratulations! You’ll only be able to see your canvas app in the Canvas App Previewer until you set the locations where it can appear by following the steps in Set the App Location. This defines where a user sees your app after it’s installed in their organization.
Behind the scenes, the Heroku Quick Start sets the canvas app’s Permitted Users, which includes admin-approved users and your profile. For example, if your user profile is System Administrator, that profile is added to the canvas app you just created, and any users with that profile can access the canvas app.