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?: MedplumRequestOptions): Promise<LoginAuthenticationResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
newProjectRequest | NewProjectRequest | Register request including email and password. |
options | MedplumRequestOptions | (Optional) Optional fetch options. |
Returns:
Promise<LoginAuthenticationResponse>
Promise to the authentication response.