Skip to main content

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

ParameterTypeDescription
newProjectRequestNewProjectRequestRegister request including email and password.
optionsRequestInit(Optional) Optional fetch options.

Returns:

Promise<LoginAuthenticationResponse>

Promise to the authentication response.