Getting Started
Follow these steps to get up and running with Thoth.
1. Login
Access your Thoth instance via the URL provided by your administrator (e.g., https://your-org.thoth-studio.com).
-
Standard Login: Use your username and password.
-
SSO Login: If configured, use Google, Microsoft, or your organization's OAuth provider.
2. Your First Template
- Navigate to Templates in the sidebar.
- Click Add.
- Fill in the basic info (Name, Group).
- In the Content area, enter a simple HTML snippet:
<h1>Hello {{ name }}!</h1>
<p>Welcome to Thoth.</p>
- Click Save. Thoth will automatically detect the
namevariable. - Click Publish to create a stable version.
3. Create a Simple Datasource
- Navigate to Datasources.
- Click Add and select SCRIPT.
- Name it "Mock User" and assign it to your group.
- In the Groovy Script area, enter:
return [name: "John Doe", email: "john@example.com"]
- Click Test Connection. You should see the result.
- Click Save and then Publish.
4. Combine them in a Renderer
- Navigate to Renderers.
- Click Add.
- Select the Template you created in step 2.
- Under Datasources, click Add and select the "Mock User" datasource. Assign it the alias
user. - Under Template Mapping, find the
namevariable and map it touser.name. - Click Save.
- Click the Render button to see your generated document!
5. Setup Printing (Optional)
If you need to print to a physical printer, follow the Remote Printing Guide to install the Printing Client.