> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# createDashboardTab()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/commands/tabs.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Creates the CreateDashboardTab command.

**Signature:**

```typescript
export declare function createDashboardTab(title?: string, index?: number, shouldStartRenaming?: boolean, correlationId?: string): ICreateDashboardTab;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| title | string | _(Optional)_ optional title for the new tab |
| index | number | _(Optional)_ optional position to insert tab (defaults to end) |
| shouldStartRenaming | boolean | _(Optional)_ optional flag to indicate whether the new tab should be started in renaming mode |
| correlationId | string | _(Optional)_ specify correlation id to use for this command |

**Returns:**

[ICreateDashboardTab](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.icreatedashboardtab/index.md)

create dashboard tab command
