Discussions

Ask a Question
Back to All

Scripting development

Hello,

I'm asking because my company is working on a new integration and we're needing to get a notification from Vitruvi to our system when some vitruvi models get updated (like a webhook). We were thinking to create a script using your [Scripting API](https://developers.vitruvi.cc/docs/scripting-overview) and then setup an [Async Event Hook](https://developers.vitruvi.cc/reference/create_async_events_event_hooks) to run that script listeting to events, so, i would like to ask you some questions about scripts coding, debugging and deployment:

¿Do you have some specific documentation about script coding? Like supported frameworks and libraries, permissions, what can we do inside scripts, etc.
¿How can we debug them and read logs?
¿Is the Vitruvi API endpoint [Create Vitruvi Script](https://developers.vitruvi.cc/reference/create_async_events_scripts) the only way to deploy code/script to vitruvi?
¿How can we handle settings or secrets? (we need to setup our api endpoints and api tokens to get it work)

Thanks for your time,
Sincerely