Run a server
Diteko is self-hosted. Each team runs its own server, with its own data and its own AWS
credentials; nothing leaves your network. The diteko Python package and the web console both
talk to that server.
You need Docker with Compose. Nothing else.
-
Download the latest release from diteko-selfhost and unpack it.
-
Create the settings and start it:
Terminal window # Write .env: a database password and a bootstrap keysh setup.sh# Start the server, Postgres and Redisdocker compose up -d -
Open http://localhost:8080. The console asks for an API key: use the bootstrap key
setup.shprinted to create your own keys, then retire it.
Self-hosting covers each step in full, along with connecting Amazon Connect, serving a team behind TLS, upgrades and backups.
Install the Python package
Section titled “Install the Python package”pip install diteko # the SDKpip install "diteko[mcp]" # with diteko-mcpThe package is a client: on its own it has nothing to talk to. Point it at your server with
DITEKO_URL (it defaults to http://localhost:8080) and give it a key with DITEKO_API_KEY.
Next: your first suite.