---
title: Feature Flags
image: /images/user-guide/table-views/table.png
---
Feature flags are used to hide experimental features. For Twenty, they are set on workspace level and not on a user level.
## Adding a new feature flag
In `FeatureFlagKey.ts` add the feature flag:
```ts
type FeatureFlagKey =
| 'IS_FEATURENAME_ENABLED'
| ...;
```
Lisää se myös `feature-flag.entity.ts` enum:iin:
```ts
enum FeatureFlagKeys {
IsFeatureNameEnabled = 'IS_FEATURENAME_ENABLED',
...
}
```
To apply a feature flag on a **backend** feature use:
```ts
@Gate({
featureFlag: 'IS_FEATURENAME_ENABLED',
})
```
To apply a feature flag on a **frontend** feature use:
```ts
const isFeatureNameEnabled = useIsFeatureEnabled('IS_FEATURENAME_ENABLED');
```
## Configure feature flags for the deployment
Muuta vastaavaa tietuetta `core.featureFlag`-taulukossa:
| tunnus | avain | workspaceId | arvo |
| ----------- | ------------------------ | ----------- | ------ |
| Satunnainen | `IS_FEATURENAME_ENABLED` | WorkspaceID | `tosi` |