# installBrandEssentialsSelfhostedFontFormats

> Mutation in domain **Brand Essentials**

- HTML: [installBrandEssentialsSelfhostedFontFormats.html](installBrandEssentialsSelfhostedFontFormats.html)
- Raw SDL: [installBrandEssentialsSelfhostedFontFormats.sdl](installBrandEssentialsSelfhostedFontFormats.sdl)
- Covered by: [llms.txt](../llms.txt)

Install selfhosted font formats to a brand. The font family name, weight and italic style are read from each font file, and files that cannot be installed are reported in `errors` instead of failing the whole mutation.

Status: _(beta)_

## Returns

`InstallBrandEssentialsSelfhostedFontFormats`

## Arguments

- `input`: `InstallBrandEssentialsSelfhostedFontFormatsInput!` _(beta)_ — `InstallBrandEssentialsSelfhostedFontFormatsInput` input argument.

## Example

```graphql
mutation InstallBrandEssentialsSelfhostedFontFormats {
  installBrandEssentialsSelfhostedFontFormats(
    input: {
      brandId: "…"
      formats: [
        {
          fileId: "…"
        }
      ]
    }
  ) {
    __typename
    errors {
      code
      fileId
      message
    }
    fontFamilies {
      name
      id
      cssName
      provider
      fontStyles {
        __typename
        name
        isItalic
        weight
        ... on BrandEssentialsAdobeFontStyle {
          kitId
        }
        ... on BrandEssentialsMonotypeFontStyle {
          cssUrl
          fontId
        }
      }
    }
  }
}
```

Raw: [`installBrandEssentialsSelfhostedFontFormats.example.sdl`](installBrandEssentialsSelfhostedFontFormats.example.sdl)
