In this tutorial, you will open JupyterHub and run a notebook that calls deployed CogStack CE services.
By the end, you will have completed an end-to-end user flow:
- Open JupyterHub
- Log in
- Open the bundled tutorial notebook
- Run cells that call MedCAT and AnonCAT service APIs
- Inspect the outputs
!!! tip The following tutorial will use your CogStack CE installation and let you run real code against your environment.
To see a non-interactive version of the tutorial notebook, refer to [the MedCAT Service Tutorial notebook](../../platform/cogstack-ai/medcat-service-tutorial.ipynb).
Make sure your CogStack CE release is installed and local port-forwarding is running.
If needed, re-run:
helm get notes <release> | bashReplace <release> with your Helm release name (for example, cogstack).
Open:
This should show the JupyterHub login page.
The community chart uses a dummy authenticator (for local/non-production use).
Log in with:
- Username:
admin - Password:
SuperSecret
After login, JupyterLab opens for your user.
The chart includes an example notebook:
medcat-service-tutorial.ipynb
You can open it directly:
Or navigate to it in JupyterLab and click to open it.
Run each cell in order from top to bottom.
The notebook demonstrates service calls to:
medcat-serviceat/api/processfor named entity extractionanoncat-serviceat/api/processfor de-identification
It uses environment variables for service URLs where available, so the default CogStack CE setup should work without edits.
As you run cells, confirm that:
- MedCAT returns annotation output for the sample text
- AnonCAT returns de-identified output
- The JSON responses are displayed in the notebook
If those outputs appear, you have validated the full end-to-end flow from JupyterHub to deployed CogStack CE services.
-
If JupyterHub does not load, ensure port-forwarding is running.
-
If notebook requests fail, verify the cluster services are up and re-run:
helm get notes <release> | bash
-
For production deployments, replace dummy authentication with secure auth configuration.
- See the full deployment documentation for more details on scaling, production security, and advanced configuration options.
- See full install instructions of the cogstack CE chartCogStack CE Helm chart (install + customization)
- See further tutorials on medcat on GitHub