Bitly Integration

Is there a way in strapi to integrate bitly api? Such that if I enter a link and upon saving it automatically generates a bitly url in the given link in another field ? much like how slug works right now in strapi v4 ??

I think you can do it using the lifecycle method beforeCreate.

Hey, Can you please explain. I was unable to find beforeCreate in documentation. Only lifecycle method the documentation talks about is register, bootstrap and destroy.

Also, where am I using beforeCreate? in the upload plugin?