gitlab connect via cloudflare api

I have not found how to connect get repository via api. I'm looking for a scenario like following the screenshot.
No description
6 Replies
Cyb3r-Jak3
Cyb3r-Jak37mo ago
Like link a git source to your Cloudflare account or create a new project that uses the git intergration.
Egemen
Egemen7mo ago
dear @Cyb3r-Jok3 , While creating a new project, I can not add git sources. Do you know if there is a way ?
Cyb3r-Jak3
Cyb3r-Jak37mo ago
Have you going through the process to connect a git source with your Cloudflare account?
Egemen
Egemen5mo ago
@Cyb3r-Jok3 yes. I've already added it. It works on site.
Cyb3r-Jak3
Cyb3r-Jak35mo ago
Then you add it as source in the API request to make a pages project. https://developers.cloudflare.com/api/operations/pages-project-create-project
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Egemen
Egemen5mo ago
I've solved on gitlab side, I've created ci cd on gitlab through gitlab-ci.yml