Get access token in native apps
var storeData = EcwidApp.getPayload(); var storeId = storeData.store_id; var accessToken = storeData.access_token; // Use accessToken and storeId variables to make requests to Ecwid REST API // ...
Check native apps guideline for general guides
Native applications work in a separate tab in Ecwid Control Panel. After user installs an application, Ecwid will redirect user to the new tab. In that tab, your application can interact with the store on behalf of the user.
See native apps documentation and start working on your application.