Get your service account credentials
Particle authenticates every call with a JSON Web Token generated from a service account client ID and client secret.
Request credentials
Ask your Particle Health representative to create a service account and issue a client ID and client secret, or create them yourself with the Management API.
- Use a service account with the project.owner or project.user role to call the patient data APIs.
- An organization.owner service account can call only the Management API.
Copy the client ID and client secret
Particle shows the client secret only once, so store it securely.
- Copy the Client ID across.
- Copy the Client Secret across.
Find your project ID
Patient data calls are made on behalf of one project, and the token is scoped to that project only.
Copy the project ID
The project ID is the UUID in the project resource name projects/{project_id}, returned as name by the Management API Projects endpoints or provided by your Particle Health representative.
- Example: for
projects/8a1d4c2e-5f6b-4a7c-9d0e-1f2a3b4c5d6e, the Project ID is8a1d4c2e-5f6b-4a7c-9d0e-1f2a3b4c5d6e - Leave it blank only when connecting an organization.owner service account for Management API use.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions