Dr Confuse
Dr Confuse

Reputation: 625

How to deploy my chatbot in bluemix itself to be accessible via a web url?

I just built my first basic chatbot on IBM's bluemix using their own tutorial. However, I'm unable to connect the thread of how it gets deployed on bluemix so as to be accessible via web/a url- like the chatbot in this url for example: chatbot in an url

Currently, I'm only finding resources to help me put my chatbot in slack, fb messenger, etc. I dont need all that currently, just looking to have it accessible via url.

Thanks

Upvotes: 1

Views: 851

Answers (1)

Sayuri Mizuguchi
Sayuri Mizuguchi

Reputation: 5330

In this case, log in your IBM Bluemix account and you can simple deploy inside IBM Bluemix with https://bluemix.net/deploy?repository=urlfromGithub

In your case, I recommend for you use conversation-simple from IBM Developers for start only with Conversation Service, this app use only Conversation service.

  • You can add Enviroment Variable after install this app
  • You can simple add inside the code your Credentials and WORKSPACE_ID, in this case, in the file app.js in line #42 for use your bot created.
  • Or, you can change the .env file with your credentials and WORKSPACE_ID;

Deploy conversation simple inside your IBM Bluemix with this URL, this example had all more details about how to use this app.

Add Enviroment Variable:

enter image description here

Change the username and password with YOUR Service Credentials in line #30

enter image description here

Change your workspace_id:

var workspace = 'awidhawfi-fehguaehgae-faefag-etc-etc';

Imported the workspace:

  • Click the menu icon in the upper right corner of the workspace tile, and then select View details.

enter image description here

Upvotes: 1

Related Questions