All Projects → heroku → Heroku Connect Plugin

heroku / Heroku Connect Plugin

CLI plugin for Heroku Connect (experimental)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Heroku Connect Plugin

Python Getting Started
Getting Started with Python on Heroku.
Stars: ✭ 637 (+2669.57%)
Mutual labels:  heroku
Www.ruby Lang.org
Source of the https://www.ruby-lang.org website.
Stars: ✭ 790 (+3334.78%)
Mutual labels:  heroku
Gautocloud
A golang library to let cloud applications connect automatically to services.
Stars: ✭ 17 (-26.09%)
Mutual labels:  heroku
Packtpub Crawler
Download your daily free Packt Publishing eBook https://www.packtpub.com/packt/offers/free-learning
Stars: ✭ 717 (+3017.39%)
Mutual labels:  heroku
Jekyll Auth
A simple way to use GitHub OAuth to serve a protected Jekyll site to your GitHub organization
Stars: ✭ 778 (+3282.61%)
Mutual labels:  heroku
Satis On Heroku
Your private Satis instance on Heroku, just one click away.
Stars: ✭ 5 (-78.26%)
Mutual labels:  heroku
Heroku Repo
Plugin for heroku CLI that can manipulate the repo
Stars: ✭ 610 (+2552.17%)
Mutual labels:  heroku
Piku
The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.
Stars: ✭ 902 (+3821.74%)
Mutual labels:  heroku
Zws
Shorten URLs using invisible spaces.
Stars: ✭ 780 (+3291.3%)
Mutual labels:  heroku
Haiku
🚀 Instant Heroku deploys from GitHub branches
Stars: ✭ 17 (-26.09%)
Mutual labels:  heroku
Ghost On Heroku
One-button Heroku deploy for the Ghost blogging platform.
Stars: ✭ 731 (+3078.26%)
Mutual labels:  heroku
Rails Template
Application template for Rails 6 projects; preloaded with best practices for TDD, security, deployment, and developer productivity.
Stars: ✭ 763 (+3217.39%)
Mutual labels:  heroku
Heroku Cra Node
⚛️ How to use create-react-app with a custom Node server on Heroku
Stars: ✭ 822 (+3473.91%)
Mutual labels:  heroku
Cli
Heroku CLI
Stars: ✭ 685 (+2878.26%)
Mutual labels:  heroku
Great Big Example Application
A full-stack example app built with JHipster, Spring Boot, Kotlin, Angular 4, ngrx, and Webpack
Stars: ✭ 899 (+3808.7%)
Mutual labels:  heroku
Express Babel
Express starter kit with ES2017+ support, testing, linting, and code coverage
Stars: ✭ 621 (+2600%)
Mutual labels:  heroku
Url To Pdf Api
Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
Stars: ✭ 6,544 (+28352.17%)
Mutual labels:  heroku
Pingmydyno
Keep Heroku dynos awake forever ☕️
Stars: ✭ 22 (-4.35%)
Mutual labels:  heroku
Django Photoblog
Photographer portfolio website powered by Django Framework. Features photo gallery with infinite scrolling, tagging, thumbnail generation and CMS for creating pages. Configured for Heroku and S3.
Stars: ✭ 19 (-17.39%)
Mutual labels:  heroku
Heroku Django Template
A Django 2.0 base template featuring all recommended best practices for deployment on Heroku and local development.
Stars: ✭ 887 (+3756.52%)
Mutual labels:  heroku

Heroku Connect CLI Plugin

Install

$ heroku plugins:install heroku-connect-plugin

Help

heroku help connect 

Commands

heroku connect:db:set                  - Set database parameters
heroku connect:diagnose                - Display diagnostic information about a connection
heroku connect:export                  - Export a mapping configuration JSON file
heroku connect:import FILE             - Import a mapping configuration JSON file
heroku connect:info                    - Display connection information 
heroku connect:mapping:state MAPPING   - Return the state of a mapping
heroku connect:mapping:delete MAPPING  - Delete an existing mapping
heroku connect:mapping:reload MAPPING  - Reload a mapping's data from Salesforce
heroku connect:pause                   - Pause a connection
heroku connect:resume                  - Resume a connection
heroku connect:restart                 - Restart a connection
heroku connect:sf:auth                 - Authenticate a connection to Salesforce
heroku connect:state                   - Return the state flag for a single connection

Examples

Download an existing mapping configuration

$ heroku connect:export
Saved config-file: app-name-resource-name.json

Tutorial

Make sure you have a Heroku app, with a Postgres database attached

Add the Heroku Connect add-on to your app

$ heroku addons:create herokuconnect

Link the new connection (the Heroku Connect add-on instance) to your Heroku user

$ heroku connect:info

Now link the connection to the database, specifying the config var and schema name

$ heroku connect:db:set --db=DATABASE_URL --schema=salesforce
settings database parameters... done
db_key:      DATABASE_URL
schema_name: salesforce

If either option is not supplied, this command will ask for a value.

Authorize the connection to access your Salesforce organization

$ heroku connect:sf:auth
Launching Salesforce for authorization. If your browser doesn't open, please copy the following URL to proceed:

https://login.salesforce.com/services/oauth2/authorize?…

This will launch your browser for an interactive authorization session.

Verify that connection is now in 'IDLE' state

$ heroku connect:state
IDLE

Now restore the exported configuration

This could be exported using the connect:export command or directly through the Heroku Connect dashboard. By editing this configuration file, you can add and edit existing mappings easily.

$ heroku connect:import app-name-resource-name.json
Upload complete

If you need to delete a mapping after the configuration has been imported, you can use a separate command for that:

$ heroku connect:mapping:delete Contact

Connect to your database to see the data

$ heroku pg:psql
> select * from salesforce.contact;

Contributing

Read the following:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].