Atlaskit confluence plugin

Hello Team,

I am trying to follow this Atlskit tutorial to create confluence sdk with atlaskit.
Just wanted to understand

  1. How to send data to UI / react JS app from server / soy template
  2. How to call external APIs either from atlas sdk or from react js.

any pointers to resolve the issue are appreciated.

Thanks you