One moment, we're cooking some code examples
We need a substance to work with
Substances are variations that live inside a TypeStack website. A substance usually defines a language, but can also define a different variations of the same website. Every instance needs at least one substance to function, but can have a as many substances as you need. Substances are usually defined to handle different languages, but can also be used in a multi-site setup. Allowing you to serve different content from the same website.
After creating your instance, the first thing to do is creating a substance. You can create a substance in the dashboard. Navigate to your instance's stettings, under the "substances" tab you will find a list of substances. Click add substance, add your URL, select your language and create a "master reference".
@TODO test dashboard functionality, else, manually add in dashboard