appendix a Installation and configuration

 

This appendix provides details on how to install and configure Claudia and other libraries for its ecosystem: Claudia API Builder and Bot Builder.

This appendix, like this book in general, assumes that you are familiar with the basics of the AWS platform and that you have an account. If that assumption is incorrect, we strongly recommend that you create an account and try to become more familiar with AWS in general, and with its user and permission system in particular, before reading on. You can create an account on the AWS website: https://aws.amazon.com. To better understand users and roles, the official documentation is a good starting point: http://docs.aws.amazon.com/IAM/latest/UserGuide/id.html.

Installing Claudia

Claudia is a regular Node.js module, published on NPM.

To install Claudia and make the claudia command available in your terminal, run the following:

npm install claudia -g

Another option is to install Claudia as a development dependency to your Node.js project by running the following command in your project:

npm install claudia --save-dev

In this case Claudia will not be installed globally, so you can’t use it from your terminal. Instead, you need to run it as an NPM script. The following listing shows the minimal version of package.json with Claudia installed as a development dependency, and with the required NPM scripts.

Configuring Claudia prerequisites

Creating an AWS profile and getting the keys

Installing Claudia API Builder

Installing Claudia Bot Builder

Installing the AWS CLI