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.
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: https://api.medplum.com/fhir/R4/
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 https://api.medplum.com/oauth2/token and the Grant Type to client_credentials. No extra parameters are needed.
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.