How to set a slug for an article that is stored in external DB?

Hey Im sorry if this is an old topic but I was not able to find a solution not here not on youtube, nor on google.
My problem is:

  • building a blog for example
  • front end with bubble
  • backend with xano or something else
  • how do I set the slug
  • and than how do I read the slug when I want to send a user from the article listing to the article detail ?

thx guys