---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / createProject

# Function: createProject()

> **createProject**(`options`, `auth`): `Promise`\<\{ \}\>

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/project.ts:207](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/project.ts#L207)

Creates a new MRT project.

## Parameters

### options

[`CreateProjectOptions`](../interfaces/CreateProjectOptions.md)

Project creation options

### auth

[`AuthStrategy`](../../../auth/interfaces/AuthStrategy.md)

Authentication strategy (ApiKeyStrategy)

## Returns

`Promise`\<\{ \}\>

The created project

## Throws

Error if creation fails

## Example

```typescript
import { ApiKeyStrategy } from '@salesforce/b2c-tooling-sdk/auth';
import { createProject } from '@salesforce/b2c-tooling-sdk/operations/mrt';

const auth = new ApiKeyStrategy(process.env.MRT_API_KEY!, 'Authorization');

const project = await createProject({
  name: 'My Storefront',
  organization: 'my-org',
  ssrRegion: 'us-east-1'
}, auth);

console.log(`Created project: ${project.slug}`);
```
