Connect to your Medplum FHIR Server

Medplum uses OAuth2 authentication. Configuring the Medplum server to allow Vanya to access it is very simple. Click on the “Add New Server” button on Vanya’s home page.

Add new server

In the Server Details popup dialog, give the new server a name: “Medplum”. Copy the base URL for the Medplum FHIR server into the URL input box:

Medplum server settings

Next, get the Id and Secret for your Medplum Client Application and copy them into the Client Id and Client Secret inputs on the OAuth 2 Authentication tab. Set the Token Endpoint to and the Grant Type to client_credentials. No extra parameters are needed.

Medplum OAuth 2 settings

Save the changes to exit the dialog, then click Connect next to the Medplum server name. If a failure message appears, go back and look at all the values you’ve entered, and refer back to your Medplum client values to ensure everything is correct.