IS there any way to insert page numbers on slides?

As in the subject line - this is a dynamically generated presentation - is there any way to add page numbers other than manually?

It’s not possible to add standard autonumerated page numbers programmatically
but there are 2 manual ways:
1. Add page numbers to template.
2. In your application insert text frame on each slide with page number.