Kubert Lite Installation Guide
This guide provides step-by-step instructions to install and set up Kubert AI Assistant Lite on your local machine.
Prerequisites
Before proceeding with the installation, ensure you have the following software installed:
- Docker
- kind
- Helm
- Kubectl
- jq
- Make
- OpenAI API Key or Anthropic API Key (for AI capabilities)
Ensure that these tools are properly installed and accessible from your command line.
Setting up API Keys
To enable the AI capabilities of Kubert AI Assistant Lite, you need to set up an API key from either OpenAI or Anthropic. Follow these steps to obtain and configure your API key:
OpenAI API Key
- Sign up for an account at OpenAI if you don’t have one already.
- Navigate to the API Keys section in your OpenAI account dashboard.
- Click on the “Create new secret key” button to generate a new API key.
- Copy the generated API key and store it securely.
Anthropic API Key
- Sign up for an account at Anthropic if you don’t have one already.
- Navigate to the API Keys section in your Anthropic account dashboard.
- Click on the “Create Key” button to generate a new API key.
- Copy the generated API key and store it securely.
Groq API Key
- Sign up for an account at groqcloud if you don’t have one already.
- Navigate to the API Keys section in your groqcloud account dashboard.
- Click on teh “Create Key” button to generate a new API key.
- Copy the generated API key and store it securely.
Google AI API key
- Sign up for an account at AI Studio if you don’t have one already.
- Click on teh “Get API Key” to navigate to the API keys section.
- Click on teh “Create Key” button to generate a new API key.
- Copy the generated API key and store it securely.
Once you have obtained your API key, you will need to provide it during the installation process.
Installation Steps
Follow these steps to install and set up Kubert AI Assistant Lite:
-
Clone the repository
Open a terminal and run:
git clone https://github.com/TranslucentComputing/kubert-assistant-lite.git cd kubert-assistant-lite
-
(Optional) Initialize Git submodules for testing
If you plan to run tests, initialize the BATS submodules:
git submodule update --init --recursive
-
Check deployment dependencies.
make check-deps-deploy
-
Deploy the kind Cluster and Application
Use the Makefile to deploy:
make deploy
This command will set up the kind cluster and deploy the application using Helm. During the deployment
OPENAI_API_KEY
will be requested as well as the system password to update/etc/hosts
file with the local domains. For Windows users the user admin password is required to updatec:\Windows\System32\Drivers\etc\hosts
. -
Open browser to http://kubert-assistant.lan/
Cleaning Up
To clean up and delete the kind cluster and the Kubert AI Assistant Lite components, run the following command:
make cleanup
This command will remove the kind cluster and all the associated resources, bringing your environment back to its initial state.
Terminal Deployment
Make Deploy
Mac Version
Example running make deploy
in iTerminal on a Mac.
Make Cleanup
Mac Version
Example running make cleanup
in iTerminal on a Mac.