# Create Profile

> Creates a new profile in the instance Management Point.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/mdm-functions/create-profile/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

This function is used to create a new profile in the instance Management Point. The instance management point is selected with [Set instance management point](/capainstaller/sdk-capainstaller-software-development-kit-functions/container-functions/set-instance-management-point/) If the new profile should be linked to a Business Unit,you can specify a businessUnitId.

## Syntax

**VBScript**

```vb
Public Function CreateProfile
(name As String, description As String, priority As Integer, changelogComment As String) As Boolean
```

## Parameters

## Return value

Returns a boolean value. True if succeeded, false if not.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
Wscript.echo oCMS.SetDatabaseSettings("ServerName", "CapaInstaller", False)
Wscript.echo oCMS.SetInstanceManagementPoint("2")
  
Wscript.echo oCMS.CreateProfile("Passcode", "Profile with passcode payloads", 400, "New profile from the sdk")

```
