Enable SmartThings GitHub Integration


Enable Github Integration

GitHub is a source code repository that allows developers to share their code. The easiest way to install the SmartApp and Device Handlers for Konnected is using the SmartThings GitHub integration. For this step, you need a GitHub account (it’s free). If you don’t want to use the GitHub integration to install the SmartThings code, you can still copy and paste it manually into your SmartThings IDE.

See Also: SmartThings Developer Guide: Github Integration

  1. Sign up for a GitHub account if you don’t already have one.
  2. Sign in to SmartThings IDE at https://graph.api.smartthings.com
  3. Go to My Locations and click on your location. This ensures you’re on the right SmartThings server for your hub.
  4. Go to My SmartApps and click the Enable GitHub Integration link

  5. You will now be presented with a GitHub page to authorize SmartThings to access your GitHub account. Click the Authorize button to be redirected back to SmartThings.

  6. SmartThings may prompt you to fork the SmartThingsPublic repository. You can skip this step! It’s not necessary.

  7. Go back to My SmartApps from the top navigation bar.

  8. Click the Settings button. The GitHub Repository Integration modal should appear.

  9. Click Add new repository and enter: Owner: konnected-io; Name: konnected-security; Branch: stable

  10. Click Save
Next Step: Install the SmartApp