Configuration
Connect Valtimo to the Epistola tenant that contains the templates for a process.
User guide navigation
On this page
Configuration
A Valtimo process can only generate documents with Epistola after you set up a connection. In Valtimo, this connection is a configuration of the Epistola Document Suite plugin.
What to prepare
Ask the Epistola administrator for:
- The base URL of the Epistola API, for example
https://epistola.example.org/api. - The tenant ID: the tenant that contains the templates.
- An API key for an application in Epistola. Epistola administrators create the application under Operations, Applications, and create the key for it.
- The environment that cases should generate in, if you use one.
- Whether Valtimo should install catalogs that ship with the application.
Choose the roles of the application
The roles of the application decide what the API key may do:
- Viewer (Content Viewer) lets Valtimo list the catalogs and templates and read their data contracts.
- Generator (Document Generator) lets Valtimo generate documents and download them.
Give the application both roles. Without Viewer, the action settings in Valtimo cannot load templates. Without Generator, Valtimo cannot generate or download documents.
Template sync installs catalogs in Epistola. That needs the Administrator (Tenant Administrator) role. Only add that role if you turn on template sync.
An application sees only the documents it requested itself, unless an administrator marks it to see every document.
Configure the connection
- In Valtimo, open Admin and then Plugins.
- Create a configuration of the Epistola Document Suite plugin, or edit one.
- Fill in Base URL, API Key and Tenant ID.
- Fill in Default Environment if cases should generate in an environment. Leave it empty to generate without one.
- Turn on Template sync only if the application ships catalogs. See Catalog sync.
- Save the configuration.
- Open the Epistola admin page (Admin, then Epistola). Check that your configuration shows the status Connected.
If the status is Unreachable, click the configuration. The Error row says why. Check the base URL, the API key and the tenant ID. The check lists the catalogs, so a key without the Viewer role also fails it.
What the default environment does
The default environment applies to every action that does not choose an environment itself. Epistola then generates from the release that this environment serves.
Without any environment, Epistola generates from the highest published release of the catalog. An action can also ask for a release range. For more, see Document generation action.
Good practice
- Use separate connections, or at least separate environments, for test and production.
- Give each connection its own application and key.
- Do not use a key with the Administrator role unless template sync needs it.
Epistola is open source, not free of cost. The organisations that use it fund its development, through Epistola or an Official Partner. We are steward-owned: fair prices, no profit maximisation. How Epistola is funded →