You cannot do this in Bubble because reasons.
This following is still true and not likely to change:
Note:if you’re cool with paid solutions there’s something called “nocodemayo” that kind of acts like an abstraction layer for this type of thing and Bubble apps. I have no opinion or experience with that solution, but I wish the nocodemayo dude were here every day to pimp their solution rather than making the rest of us answer this question (or ignore it) and I just can’t ignore it.
It’s so obvious that one cannot do this that it makes me koo-koo-go-nuts.