- Configuring the Studio application and its constituent components.
- Configuring Keycloak, the authentication platform that Studio uses.
- Deploying Studio onto your cluster and making it accessible from outside the cluster.
Studio Setup
First, we’ll perform some initial setup for installing Rasa Studio. This script will:- Pull the Rasa Studio Helm chart.
- Ensure some secret values are set and create a Kubernetes secret for them.
Values File
Thevalues.yaml file will contain all of the configuration that gets applied to your assistant by Helm. You can read about all of the available configuration options here, and you can fully customise your setup to meet your organisation’s needs and security policies. For simplicity, we’ve provided a file in the playbook repo azure/studio/values.template.yaml that sets all of the key values we need to integrate Rasa with the Azure infrastructure we’ve already deployed. You can set these values manually and add any others you require, but we recommend you begin by automatically creating a version with all the environment variables set from the previous sections:
Deploy studio
Now that all the configuration is done, you can deploy Studio using all of the configuration that you’ve set:Configure TLS Certificate
Finally, we can deploy the TLS certificate for your Studio deployment. Rasa Studio deploys its own Ingress, so you don’t need to do that like you did with Rasa Pro. Run the helper script for this:Warning: spec.privateKey.rotationPolicy: In cert-manager >= v1.18.0, the default value changed from Never to Always.. This is fine.
Finally, you will be able to visit your assistant’s URL: https://studio.$DOMAIN. For example, if the value you used for $DOMAIN was example.com, you could visit your assistant on https://studio.example.com. If you receive an error, there may just be a delay in issuing the certificate - wait a few minutes and try again! You may see a few different error messages as components finish up deploying and certificates are issued, so don’t worry if this happens. Your deployment is complete when you see a login page.
Congratulations, you have now completed the playbook and successfully installed the Rasa Platform!
Next Steps
- Set up users and roles for Studio.
- If you ever need to uninstall Rasa Platform and remove the deployed infrastructure, you can do so by following the instructions in the Cleanup section.