# Create Project — Crowdin

> Creates a new project within Crowdin. See the documentation

- Key: `crowdin-create-project`
- Type: Action (Write)
- Version: 0.0.2
- App: Crowdin (`crowdin`) — https://pipedream.com/apps/crowdin.md
- This page (HTML): https://pipedream.com/apps/crowdin/actions/create-project
- Hints: open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/crowdin/actions/create-project/create-project.mjs

## Description

Creates a new project within Crowdin. [See the documentation](https://support.crowdin.com/developer/api/v2/#/projects-api/create-project)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `name` | `string` | Yes | The name of the project to be created |
| `sourceLanguageId` | `string` | Yes | The language ID of the source language Options are loaded from the connected account. |
| `targetLanguageIds` | `string[]` | No | Array of target language IDs Options are loaded from the connected account. |
| `identifier` | `string` | No | A custom identifier for the project |
| `visibility` | `string` | No | Defines how users can join the project. |
| `languageAccessPolicy` | `string` | No | Defines access to project languages. |
| `cname` | `string` | No | Custom domain name for the project. |
| `description` | `string` | No | The description of the project. |
| `tagsDetection` | `string` | No | The type of the tags detection. |
| `isMtAllowed` | `boolean` | No | Allows machine translations to be visible for translators. Default is true. |
| `taskBasedAccessControl` | `boolean` | No | Allow project members to work with tasks they're assigned to. Default is false. |
| `autoSubstitution` | `boolean` | No | Allows auto-substitution. Default is true. |
| `autoTranslateDialects` | `boolean` | No | Automatically fill in regional dialects. Default is false. |
| `publicDownloads` | `boolean` | No | Allows translators to download source files. Default is true. |
| `hiddenStringsProofreadersAccess` | `boolean` | No | Allows proofreaders to work with hidden strings. Default is true. |
| `useGlobalTm` | `boolean` | No | If true, machine translations from connected MT engines will appear as suggestions. Default is true. |
| `showTmSuggestionsDialects` | `boolean` | No | Show primary language TM suggestions for dialects if there are no dialect-specific ones. Default is true. |
| `skipUntranslatedStrings` | `boolean` | No | Defines whether to skip untranslated strings. |
| `exportApprovedOnly` | `boolean` | No | Defines whether to export only approved strings. |
| `qaCheckIsActive` | `boolean` | No | If true, QA checks are active. Default is true. |
| `type` | `string` | No | Defines the project type. To create a file-based project, use 0. |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "crowdin",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "crowdin-create-project",
  arguments: {
    name: "Project Name",
    sourceLanguageId: "Source Language ID",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "crowdin-create-project",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    crowdin: { authProvisionId: "apn_xxxxxxx" },
    name: "Project Name",
    sourceLanguageId: "Source Language ID",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "crowdin-create-project",
    "configured_props": {
      "crowdin": { "authProvisionId": "apn_xxxxxxx" },
      "name": "Project Name",
      "sourceLanguageId": "Source Language ID"
    }
  }'
```

---

- App: https://pipedream.com/apps/crowdin.md · All apps: https://pipedream.com/apps
