Deploying a Watson and Cloudant App with DevOps Services

Share this post:

Backed by popular demand this is a continuation of the post Building a Java EE app on IBM Bluemix Using Watson and Cloudant.

This post will detail how to build and deploy the app using IBM DevOps Services.

So let’s get started.

  1. Sign up for a Bluemix account @
  2. Click catalog, click Liberty for Java, click Create, you will need to enter a unique name for the app,
    ex. talent-manager-johnsmith
  3. Click Add a Service
  4. Click User Modeling and then click Create
  5. Click Add A Service
  6. Click Cloudant and then click Create
  7. Click on Cloudant, click on Launch
  8. In the top right click on Add a New Database, type in talent-manager
  9. Click Replication on the left
  10. Click Remote Database, type in

11. Type in your database name below, talent-manager, click Replicate
12. The password comes from Bluemix, switch back to Bluemix, click on Overview on the left,click on
Show Credentials for Cloudant, copy the long password inside of the quotes for the field password

13. Switch back to the Cloudant tab, click Continue Replication
14. Sign into using the account you created from step 1 (it will ask you to create an account, just use the part in front of the @ sign in your email address)
15. Visit, click Edit at the top
16. Click fork on the left
17. Type in a name for your project, leave the rest of the information to their defaults and then click Save

fork project
18. Edit personafusion/manifest.yml, change talent-manager (2 occurrences) to the name of your app
(you can get this from the Bluemix tab you have open, its at the top of the page)



19. On the left click the second icon (its the git logo)
20. Place a check mark next to manifest.yml, type in a commit message, click Commit
21. On the left click Push
22. Click on Build and Deploy in the top left
23. Click on Advanced
24. Click on add a builder or the big plus sign on the left
25. Type in personafusion for Build Script Path, click Save

26. Click add a stage
27. Type in the name of your app (from step 17) in Application Name, click Save

28. Click Request Build, (this should put a green check mark eventually), it will trigger a deploy
29. Once the deploy is done on the right you can visit your app at
(replacing appname with your app name)
30. Voila you just deployed a Java webapp using Cloudant and Watson

IBM Cloud Kubernetes Service - Core Dev Lead

More stories
May 7, 2019

We’ve Moved! The IBM Cloud Blog Has a New URL

In an effort better integrate the IBM Cloud Blog with the IBM Cloud web experience, we have migrated the blog to a new URL:

Continue reading

May 1, 2019

Two Tutorials: Plan, Create, and Update Deployment Environments with Terraform

Multiple environments are pretty common in a project when building a solution. They support the different phases of the development cycle and the slight differences between the environments, like capacity, networking, credentials, and log verbosity. These two tutorials will show you how to manage the environments with Terraform.

Continue reading

April 29, 2019

Transforming Customer Experiences with AI Services (Part 1)

This is an experience from a recent customer engagement on transcribing customer conversations using IBM Watson AI services.

Continue reading