Saving data field values in activity file, display in Garmin site

Hi,

I'm developing a display field, and would like to save the information as part of the activity, and display it in the Garmin Connect site.

Is this possible? Which API class should I use?

Regards,
JF