Create a website
The website represents a page structure and has data modeling that is used for settings.
To create a website, go to back office Settings > Websites > Website.
- Click New.
- Select a website template and a home page field template. When you create a website, a start page will be added automatically.
- Click OK.

When you have created a website, you can add constant strings to it on the Texts tab. The values you enter here can be used across the code and are easily edited/translated on this screen.
Here is an example of how to add or update a website text value programmatically, and get it from the text container:
var website = new Website(_websiteFieldTemplate.SystemId)
{
Id = this.UniqueString()
};
website.Localizations.CurrentCulture.Name = "WebsiteName";
website.Texts.AddOrUpdateValue("sampleKey", "en-us", "en-value");
website.Texts.AddOrUpdateValue("sampleKey", "sv-se", "se-value");
//Create
_websiteService.Create(website);
var savedWebsite = _websiteService.Get(website.Id);
var usText = savedWebsite.Texts.GetValue("samplekey", "en-us");
var seText = savedWebsite.Texts.GetValue("samplekey", new CultureInfo("sv-se"));