Skip to Content

Enable SAP Cloud Platform Internet of Things for Cloud Foundry

test
0 %
Enable SAP Cloud Platform Internet of Things for Cloud Foundry
Details
// Explore More Tutorials

Enable SAP Cloud Platform Internet of Things for Cloud Foundry

08/22/2018

Create a service instance and a service key to enable the Internet of Things service.

You will learn

  • How to enable the Internet of Things Service
  • How to create a service instance
  • How to create a service key
  • How to delete a service instance


Step 1: Create a Service Instance

Note:
You have to contact the SAP Sales team to purchase a license for the SAP Cloud Platform Internet of Things Service. You can reach the SAP Sales team at https://cloudplatform.sap.comContact Us.

  1. Log on to the SAP Cloud Platform Cockpit with your user credentials.

  2. If you work in an enterprise account, add quotas to the services you purchased in your subaccount to make them visible on the Service Marketplace.

    For more information, please refer to section Add Quotas to Subaccounts Using the Cockpit in the SAP Cloud Platform documentation.

  3. Navigate to the space in which you want to create a service instance.

    For more information, please refer to section Navigate to Orgs and Spaces in the Cockpit in the SAP Cloud Platform documentation.

  4. Choose Services > Service Marketplace.

  5. Choose Internet of Things.

  6. Choose Instances.

  7. Choose New Instance. The system opens the Create Instance dialog.

  8. Choose Next.

  9. Optional:

    You can enable and disable the SQL and HTTP processing services with the following parameters. For more information, please refer to the Internet of Things Message Processing documentation.

    Specify Parameters for the SQL and HTTP processing services in the JSON format or by selecting a JSON file. If no parameters are specified, the SQL processing service is activated by default.

        {
         "processingServices": [
          {
            "name": "sql"
          },
          {
            "name": "http",
            "properties": {
              "processing.http.url": "<endpoint_url>",
              "processing.http.headers": [{
                "name": "<http_header>",
                "value": "<http_header_value>"
              }]
            }
          }
         ]
        }        
    

    Choose Next.

    Note:
    An SAP IoT Application Enablement integration can be triggered by creating a ticket in the SAP Support Portal using the component BC-NEO-SVC-IOT.

    The integration needs to be triggered before modeling any entities in the Internet of Things Service.

    Please provide the URL of the targeted Internet of Things Service instance and the subaccount ID of your SAP IoT Application Enablement tenant within your ticket. For more information, how to find your subaccount ID, please refer to section Navigate to Global Accounts and Subaccounts in the SAP Cloud Platform documentation.

  10. Choose Next.

  11. Enter an Instance Name for your service instance and choose Finish.

  12. Choose Open Dashboard in the Actions column to open the Internet of Things Service Cockpit of the service instance you have created.

    Note:
    To log on to the Internet of Things Service Cockpit, first create a service key in the Internet of Things Service Cockpit. For more information, please refer to section Create a Service Key in this tutorial.It may take some time after the creation process has finished before the Internet of Things Service Cockpit can be reached.

For which service did you just create an instance?
×
Step 2: Create a Service Key

You have created a service instance as described in the previous step. To log on to a service instance, you need to create a service key in the SAP Cloud Platform Cockpit

  1. Navigate to the space in which you want to create a service key.

  2. Choose Services > Service Marketplace.

  3. Choose Internet of Things.

  4. Choose Instances.

  5. Choose the Name of your service instance.

  6. Choose Service Keys.

  7. Choose Create Service Key.

    The system opens the Create Service Key dialog.

  8. Enter a Name and choose Save.

    A new service key for your service instance is created. It contains the Internet of Things Service Cockpit password, url, and username.

        {
        	"password": "r3B3KkyXEmuSyDF",
        	"url": "https://80e91683-c952-4cef-ae88-37edb89410f7.eu10.cp.iot.sap",
        	"username": "root"
        }
    
Step 3: Delete a Service Instance
  1. Navigate to the space in which you want to delete the service instance.

  2. Choose Services > Service Instances.

  3. To delete a service instance choose the recycle bin icon in the Actions column.

Log on to answer question

Next Steps

Back to top