-
Notifications
You must be signed in to change notification settings - Fork 10
Provision and bind a service instance in Bluemix
Create a service instance and bind it to your Simple Data Pipe app in one of 2 ways. You can:
The following example illustrates how to create a weather service instance and bind it to the Simple Data Pipe application.
- If this is the first time you are using the Cloud Foundry command line interface, download and install the software.
- Open a command prompt and connect to Bluemix, by following the prompts.
$ cf login
Pro Tip: You remain logged in until you explicitly log out using the
cf logoutcommand. You therefore don't have to log in every time you want to use the command line interface.
- Create a service instance
$ cf create-service weatherinsights Free weather
- Bind the service instance to the application.
$ cf bind-service simple-data-pipe weather
- Restage the application.
$ cf restage simple-data-pipe
- Verify that the service instance is bound to the application.
$ cf services
##Use the Bluemix user interface
The following example illustrates how to create an Insights for Weather service instance and bind it to a previously deployed the Simple Data Pipe application.
-
Open Bluemix and log in using your IBM ID.
-
Open the DASHBOARD.
-
Select the space into which the Simple Data Pipe application has been deployed.
Tip: If you cannot locate the space, make sure you are using the correct org.
-
Locate the Simple Data Pipe application tile and click it.
-
Click + ADD A SERVICE OR API.
-
In the search box, enter the name of the service you want to use, like Insights for Weather.
-
Click the tile for the desired service, like Insights for Weather.
-
Enter a service name, like weather.
-
Click Create.
-
Click RESTAGE to restage the application now.