> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/project/settings/bindings.md).

# Bindings

See every @Model.Project.\* value your templates, triggers and code can use, and what it resolves to now.

**Where:** Project → Settings → **Bindings** · `/projects/<project>/settings?tab=Bindings`

**Bindings** insert live project values into triggers, code and templates. You write `@Model.` and the binding name — for example `@Model.Project.Name` — and Norbix puts the project's current value there when it renders. This tab is read-only: it lists every project binding and what it resolves to right now. More: [Project tokens](/codemash/cloud/concepts/tokens-binding/project-tokens.md).

## Before you start

* Any role that may read the project.
* The values come from other tabs — set them first on [Brand](/codemash/cloud/project/settings/brand.md) and [Languages](/codemash/cloud/project/settings/languages.md).

## Steps

1. Open **Settings → Bindings**.
2. Find the value you need in the **BINDING** column and copy it into your template, for example `Welcome to @Model.Project.Name`.

   | Binding                                                        | What it is                                                     | Example value                      |
   | -------------------------------------------------------------- | -------------------------------------------------------------- | ---------------------------------- |
   | `@Model.Project.Name`                                          | The project display name.                                      | `Acme Store`                       |
   | `@Model.Project.UniqueName`                                    | The short (slug) name.                                         | `acme-store`                       |
   | `@Model.Project.DefaultLanguage`                               | The default language code.                                     | `en`                               |
   | `@Model.Project.Url`                                           | The project website.                                           | `https://acme.example.com/`        |
   | `@Model.Project.AdminUrl`                                      | The Admin Portal address (your override, else the Norbix one). | `https://portal.acme.example.com/` |
   | `@Model.Project.Logo.Url`, `.Logo.Path`, `.Logo.IntegrationId` | The logo's public URL, storage path and file integration.      | Not set                            |
   | `@Model.Project.Icon.Url`, `.Icon.Path`, `.Icon.IntegrationId` | The same for the icon.                                         | Not set                            |
   | `@Model.Project.MainColor`, `@Model.Project.AccentColor`       | The brand colours.                                             | Not set                            |

## Result

The **RESOLVES TO** column shows the value a template would get now. A binding shown as **Not set** is still valid — it resolves once the value is set.

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-a5aaaf40c2a4a1fa5d9d673f670db2471a789655%2Fbindings-1.png?alt=media" alt="Bindings tab: table of @Model.Project bindings with Acme Store, acme-store, en, the URLs and Not set for logo, icon and colours"><figcaption><p>The bindings of Acme Store.</p></figcaption></figure>

## Change or remove it later

* A binding's value changes where it comes from: name, URL, Admin Portal address, logo and icon on [Brand](/codemash/cloud/project/settings/brand.md); the default language on [Languages](/codemash/cloud/project/settings/languages.md).
* The brand colours have no field in Cloud; set them from code (`norbix project set-colors`, [Update Project Main Color](/codemash/api-reference/account/projects/update-project-main-color.md)).

## Do it from code

```ts
const { tokens } = await norbix.hub.account.getProjectTokens({ projectId: 'pr_7FUKofhEBNMnISkqust2De' });
console.log(tokens.slice(0, 4).map((t) => `${t.key}=${t.value}`));
// ["Project.DefaultLanguage=en","Project.Name=Acme Store","Project.UniqueName=acme-store","Project.Url=https://acme.example.com/"]
```

```sh
norbix project tokens --project pr_7FUKofhEBNMnISkqust2De
```

The client setup is on the [Account page](/codemash/cloud/account.md#use-it-from-code). API: [Get Project Tokens](/codemash/api-reference/account/projects/get-project-tokens.md)
