# OpenTemplates 1.0
> Keep the HTML templates of your invoices, contracts and letters in one place, and let your apps render them through a REST API.
Status: current. License: MIT. Full text in one file: https://totaljs.es/docs/opentemplates/1-0/llms-full.txt
Source code: https://github.com/totaljs/opentemplates
## Guides
- [Introduction](https://totaljs.es/docs/opentemplates/1-0/guides/introduction.md): What OpenTemplates is, what it does and where to start.
- [Install from source](https://totaljs.es/docs/opentemplates/1-0/guides/install.md): Install OpenTemplates with Node.js and start it on your computer or server.
- [First start](https://totaljs.es/docs/opentemplates/1-0/guides/first-start.md): Open the interface for the first time and protect it with a primary access token.
- [Profiles](https://totaljs.es/docs/opentemplates/1-0/guides/profiles.md): Create, edit, clone and remove the profiles that group your templates.
- [Layouts](https://totaljs.es/docs/opentemplates/1-0/guides/layouts.md): Edit the HTML page that wraps every template of a profile.
- [Templates](https://totaljs.es/docs/opentemplates/1-0/guides/templates.md): Create, group, clone and remove the templates of a profile.
- [Edit a template](https://totaljs.es/docs/opentemplates/1-0/guides/template-editor.md): Write the HTML of a template with a live preview.
- [Template syntax](https://totaljs.es/docs/opentemplates/1-0/guides/template-syntax.md): Write values, conditions, loops, a sample model and helpers in a template.
- [Images and files](https://totaljs.es/docs/opentemplates/1-0/guides/files.md): Upload a logo or another file and use it in your templates.
- [Export and import](https://totaljs.es/docs/opentemplates/1-0/guides/export-import.md): Move profiles and templates between servers as JSON files.
- [API tokens](https://totaljs.es/docs/opentemplates/1-0/guides/api-tokens.md): Create a token for each app that renders templates, and change it when you need to.
- [Configuration](https://totaljs.es/docs/opentemplates/1-0/guides/configuration.md): Set the name of the app, the primary access token and the Total.js API token.
- [Logs](https://totaljs.es/docs/opentemplates/1-0/guides/logs.md): See which templates your apps rendered and when.
- [Back up your data](https://totaljs.es/docs/opentemplates/1-0/guides/backups.md): Copy the data folder to keep your templates, tokens and settings safe.
- [Run in production](https://totaljs.es/docs/opentemplates/1-0/guides/production.md): Settings and habits that keep an OpenTemplates server safe.
## Reference
- [REST API overview](https://totaljs.es/docs/opentemplates/1-0/reference/rest-api.md): The endpoints your apps call and how to send the token.
- [Render a template](https://totaljs.es/docs/opentemplates/1-0/reference/render.md): Send data to a template and get the finished document back.
- [List profiles and templates](https://totaljs.es/docs/opentemplates/1-0/reference/profiles.md): Get the profiles, their template IDs and the sample models.
- [Errors](https://totaljs.es/docs/opentemplates/1-0/reference/errors.md): The errors the REST API returns and what to do about them.
- [The data folder](https://totaljs.es/docs/opentemplates/1-0/reference/data-folder.md): What OpenTemplates keeps in the databases folder.
## Recipes
- [Render from Node.js](https://totaljs.es/docs/opentemplates/1-0/recipes/render-from-nodejs.md): Render a template from a Node.js app and save the HTML to a file.
- [Let users pick a template](https://totaljs.es/docs/opentemplates/1-0/recipes/template-picker.md): Show the templates of OpenTemplates in your app and render the one a user picks.
## FAQ
- [Tokens and access](https://totaljs.es/docs/opentemplates/1-0/faq/access.md): Questions about the primary access token and the API tokens.
- [Templates](https://totaljs.es/docs/opentemplates/1-0/faq/templates.md): Questions about writing and calling templates.