core.medplumclient.startnewproject
Home > @medplum/core > MedplumClient > startNewProject
MedplumClient.startNewProject() method
Initiates a new project flow.
This requires a partial login from startNewUser or startNewGoogleUser.
Signature:
startNewProject(newProjectRequest: NewProjectRequest, options?: RequestInit): Promise<LoginAuthenticationResponse>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| newProjectRequest | NewProjectRequest | Register request including email and password. |
| options | RequestInit | (Optional) Optional fetch options. |
Returns:
Promise<LoginAuthenticationResponse>
Promise to the authentication response.