Part of setting up a project that can properly checkout code and run tests is having a checkout key (ssh key) https://circleci.com/docs/api/v2/#tag/Project/operation/listCheckoutKeys.