import styled from "styled-components"; import { LandingLayout, Flex, H1, H2, H3, H4, Typography, } from "@redocly/developer-portal/ui"; import { theme } from "../../../../theme";
import InlineCodeBlock from "../../../../components/InlineCodeBlock.tsx";
This guide will walk you through creating a new subproject for a Sinch project using Node.js.
:::info Steps:
:::
<InlineCodeBlock data={ props.pageContext.data.codeBlock }>
Now, we'll customize and run the code that will create a subproject under your specified Sinch project ID.
- Assign your values to the following parameters:
| Parameter | Your value |
|---|---|
YOUR_projectId | The corresponding project ID that you would like to create a subproject under. Your projectId can be found in the Sinch Build Dashboard under Settings, then Access Keys. |
displayName | The display name is a name given to represent this particular subproject. In a resale setting, this would be your customer's business name. |
labels | Labels contain a series of key:value pairs that are completely customizable. You can assign your own key and value. This is a great way to keep metadata with the subproject. |
Save the file.
Execute the code and create your first subproject.
Run the following command:
node index.mjs
Check out our full API reference for more subproject options.