Salesforce community is growing so much faster that evangelists are starting to create their projects and sharing it with the whole world for re-use via GitHub. If you came across an interesting GitHub repo and want to install the app into Salesforce, then you can use a wonderful utility created by Andrew Fawcett named “Deploy To Salesforce“.
Steps to get this done
- Open the GitHub repo that has the code you want to import to Salesforce
- Create a URL manually https://githubsfdeploy.herokuapp.com/app/githubdeploy/[owner]/[repo name]. Example: https://githubsfdeploy.herokuapp.com/app/githubdeploy/financialforcedev/apex-mdapi
- Load this URL on the browser. The page will request you to login to the destination salesforce account.
- Once you login, hit the Deploy button
This will install the entire github repo code to Salesforce. Remember, it does take some time based on the amount of items to be imported.