Finally you can log in your newly created account.
## Create an Application The Bluemix environment gives you the opportunity to create web or mobile applications. Staging and configuring such apps online may require some additional knowledge, e.g. how web servers work and perhaps understanding of web technologies such as HTML.We recommend that you work locally on your computer.
In that case - you can skip this section.
If you anyway want to stage your application online:
- Click Create Application
- Pick one of the containers/boilerplates.
- For Python programmers we recommend using Boilerplates >> Python Flask
- For NodeJS fans we recommend Cloud Foundry Apps >> SDK for NodeJS
- Enter
App Name - Click Create
- Follow the instructions
Important: the Bluemix and CF command line interfaces are already installed on the computers in the pool.
## IBM Watson Services- Go to Catalog >> Services >> Watson
- Click on the desired service
- Enter a unique service name or leave the default value
- If you decided to stage an online app: on the left side under "Connect to" you can associate it to your application (optional)
- Click Create
You will need the username and password (api_key for AlchemyAPI) credentials for each service. Service credentials are different from your Bluemix account username and password.
- Click on the service you created
- On the left side of the page, click Service Credentials to view your service credentials.
- Copy
usernameandpassword(api_keyfor AlchemyAPI).
You might not have privilleges to install python packages on the computers in the pool. However you can create a virtual environment and install any package you need there. To do that - follow the instructions:
- Create a folder for your project
- Open a Terminal in that folder
- Type
virtualenv venv(you can substitutevenvwith your prefered name) - To activate the virtual environment type:
source venv/bin/activate - Now you are operating in the virtual environment
Simply open a terminal and type:
$ pip install watson_developer_cloudCreate a new file, e.g. my_app.py and include the desired service like so:
from watson_developer_cloud import RetrieveAndRankV1
...
...
...Now you can use the Retrieve and Rank service. For more detailed information on how to use the services - check out the examples folder at: https://github.com/watson-developer-cloud/python-sdk