Academy / Week 2 / SyncApp Support Service / Provision Flow — Add Settings & Spin Up SyncApp

Provision Flow — Add Settings & Spin Up SyncApp

Lesson 8.6 ⏱ ~6 min Week 2

💡 Why This Matters

The final two steps — injecting PMS settings into WAM and spinning up the SyncApp pod — complete the automation chain. Understanding how settings.json is created from the provisioner configuration, and how Kubernetes differs from local execution, will help you debug provisioning issues in production.

🎯 What You'll Learn

  • How the createDentalEMRSyncApp method (or equivalent per PMS) sets EMR settings and spins up the SyncApp
  • The two components needed to spin up a SyncApp: settings.json and the SyncApp binary (on laptop) or pod (in Kubernetes)
  • How PMS-specific settings (e.g., DentalEMR practice ID) are injected into WAM location settings programmatically
  • The difference between local execution (your machine = the system) vs Kubernetes (a pod = the system)
  • What 'spin up a SyncApp' means at the Kubernetes level: creating a pod with the settings configuration

Watch Video

Open in Google Drive 💡 Open in Drive for AI-powered transcript search and summaries

📋 Lesson Summary

The final provision steps inject PMS-specific settings into WAM and launch the SyncApp. The createDentalEMRSyncApp method (or PMS-equivalent) has two parts: set EMR settings (PMS credentials written to WAM location settings) and create cloud SyncApp (spin up the pod using all collected configuration). On a developer's laptop, this runs as a local process with settings.json; in production, Kubernetes creates a pod. Once complete, the SyncApp is running and will begin its first sync cycle.

🏷 Key Concepts

createDentalEMRSyncApp Methodsettings.jsonSyncApp Binary vs Kubernetes PodWAM Location Settings InjectionCloud SyncApp Spin-UpProvision Completion

Key Takeaways

01The provision flow ends when the SyncApp pod is running and starts its first sync — that's when data starts flowing
02settings.json is the bridge between provision configuration and the running SyncApp process
03Kubernetes pod creation is the cloud equivalent of running the binary locally
04If the SyncApp doesn't appear in WAM after provisioning, check whether the pod started successfully
05All provisioning steps must succeed for the SyncApp to work — any failure mid-way leaves an incomplete setup