Build and use models with 19th
Turn your data into a model you can use in your application. Train through your agent or the API, then run predictions locally or through a hosted endpoint.
Choose your starting point
| Guide | Use it when |
|---|---|
| MCP | You want your agent to help prepare data, train and use your model |
| Training API | You want to send a CSV and get a downloadable model, with optional labeling and predictions |
| Inference API | You have a trained model and want hosted predictions for records or a CSV |
| Runtimes & SDK | You want to run a downloaded model inside your own application |
Get access
Open API Keys in the 19th dashboard. Sign in with your account, or choose Sign up to create one and complete email verification. Return to the same link after sign-in to open API Keys. If you were invited to a team, use the email address that received the invitation.
- Using an agent: follow the MCP connection guide. Complete the client’s OAuth sign-in, then ask your agent to verify access with
get_capabilities. You do not need to create an API key for MCP. - Using the API or SDK: create an API key in the dashboard. Select New Key under Training API and save the secret when it appears. One key trains models, downloads them and calls their prediction URLs. The Inference API guide explains predict-only keys.
If sign-in does not complete or your workspace is unavailable, check the account you used, complete any email verification, and check any team invitation. Contact 19th if you need help getting access. Do not include API keys in your message.
From a table to a prediction
- Choose what to predict. Define the value you want to predict and the input columns available when predicting. See Capabilities for what you can predict.
- Bring your data. Start with one flat table and preserve any known labels. Numbers, categories, dates, free text and embeddings all work. If your examples don’t have labels, 19th can help label them before training.
- Train your model. Choose a training mode and submit. The Training API can also predict new records you send alongside the training data. If work is still running, follow the returned status URL; your run continues.
- Use your model. Download it and run it locally with the 19th SDK, or use its ready hosted prediction URL.
Training, model downloads and hosted predictions have separate readiness states. Check the response before using a download or prediction URL.
Find the full list of supported task types and options in the MCP guide or Capabilities guide.
Connections and credentials
| Interface | Address | Sign in with |
|---|---|---|
| MCP | https://app.19th.com/mcp | OAuth through your MCP client |
| Training API | https://training.19th.com | Training API key |
| Hosted inference | https://inference.get19th.com | Your training API key, or a predict-only inference key |
Create API keys in your dashboard. Keep them in your backend or a secure local environment. Each guide explains the permissions needed for its requests; MCP uses your client’s sign-in flow instead of an API key.
Give these docs to your agent
Paste this into your agent:
Read https://19th.com/docs and help me build and use a model with 19th
Include what you want to predict and the data you have. For MCP setup, use the connection guide.
Each guide has a Markdown version linked in its navigation, including this overview.