Create a project in CircleCI
This guide walks you through creating a new project in CircleCI. Creating a project is the step where you give CircleCI access to the code in your repository, so it can check that code out and run pipelines against it.
Prerequisites
-
A CircleCI Server account. Your organizations are the GitHub organizations you belong to.
-
Code you want to build on CircleCI.
Build a new project on CircleCI
On CircleCI Server, each project is a repository in one of your GitHub organizations. To build a repository on CircleCI, set it up as a project from the Dashboard in the web app and choose the configuration file to use. Follow the steps in Set up a project below.
Set up a project
Follow these steps to set up a new project in CircleCI:
-
In the CircleCI web app, select Dashboard in the sidebar.
-
Select Set up a project.
-
Find your project in the list and select Set Up Project.
Not seeing your project? Select the CircleCI logo at the top of the window to navigate to your user homepage and select an organization. -
Choose a
config.ymloption in the modal. You can choose from the following:-
Fastest: Use a CircleCI
.circleci/config.ymlyou have already committed to your repository. For guidance on creating aconfig.ymlfile, see the Configuration Introduction page. You will also need to specify a branch. -
Faster: Commit a starter CI pipeline to a new
circleci-project-setupbranch of your repository. -
Fast: View, edit, and commit a template
config.yml.
-
-
Select Set Up Project.
CircleCI uses the specified .circleci/config.yml file to run your pipeline. You can see the output in the CircleCI dashboard.
To make changes to your pipeline, choose one of the following:
-
Edit the config file in your repository.
-
Select the ellipsis
next your project in the Pipelines or Projects dashboard and choose Configuration File. This opens the CircleCI configuration editor, from where you can edit and commit your
config.ymlfile. -
Access the configuration editor using the Edit Config button from the Pipelines page when you have a project and branch selected.
Troubleshooting
This section covers common issues you may encounter when creating a project in CircleCI.
Repository not visible in the list
If you do not see your repository when trying to connect it to a project, try the following:
-
If you are using the Set up project flow, Check your permissions. Ensure you have admin access to the repository in your VCS provider. CircleCI requires admin permissions to set up projects.
-
Verify organization selection: Select the CircleCI logo at the top of the web app to navigate to your user homepage and confirm you are in the correct organization.