Перейти к файлу
Holger Kache fb00dcec2b
Update README.md
2019-02-28 10:19:55 +01:00
AWSIoTConnectorApp@35fae62cb5 Move blogs to wiki and add connector apps 2019-02-27 17:10:48 +01:00
GCPIoTConnectorApp@208478ae7c Move blogs to wiki and add connector apps 2019-02-27 17:10:48 +01:00
node Update config.json 2018-08-15 13:19:40 -05:00
sfdx updates to shell and node 2018-06-21 18:05:33 -05:00
.DS_Store updates to shell and node 2018-06-21 18:05:33 -05:00
.gitignore updated node and sfdx scripts 2018-06-20 18:09:07 -05:00
.gitmodules Move blogs to wiki and add connector apps 2019-02-27 17:10:48 +01:00
README.md Update README.md 2019-02-28 10:19:55 +01:00
connector.zip updates to shell and node 2018-06-21 18:05:33 -05:00

README.md

IoT Connector

This repo holds sample code for creating Platform Events via API that can be hosted on various cloud platforms (AWS, GCP, Azure, etc.).

All user documentation with detailed instructions on configuration, deployment and execution are available in this Wiki.

The repository contains two submodules for two unmanaged applications that can be deployed into an Salesforce org (using SFDX 2nd generation package deployment):

  1. An Amazon AWS IoT Connector Application

  2. A Google GCP IoT Connector Application

For user documentations on these two applications see the Wiki pages for the AWSIoTConnector and GCPIoTConnector respectively.

Quick Start

First, clone this repository:

git clone https://github.com/developerforce/iotconnectors.git

Then go into the sfdx directory and run the bash script

cd iotconnectors
cd sfdx
sh ./projectSetup.sh

Follow the instructions in the script which will require answering some prompts. At the end of the script you will have:

  1. A Connected App in a Dev Hub, Sandbox or Production instance.
  2. A scratch org with a Platform Event, Context and Orchestration for a Smart Thermostat device
  3. A certificate and private key for JWT authentication
  4. A node application which can be deployed to Azure or AWS.

See the following for setting up in:

The manual route

If you want to create the working parts yourself, following these guides:

Then go into the node directory and update config.json with the correct information. You would then continue with the guide to setting up in the cloud of your choice: