Start Building for Free
CircleCI.comAcademyBlogCommunitySupport

Create a project in CircleCI

4 days ago8 min read
Cloud
Server v4+
On This Page

This guide gets you started with creating a new project in CircleCI.

Prerequisites

  • A CircleCI account connected to your code. You can sign up for free.

  • Code you want to build on CircleCI.

Build a new project on CircleCI

The authorization method used to set up your CircleCI account determines the definition of "project" in CircleCI, as well as the permissions management processes available to you:

On the Organization Home page, check which option you see:

Create a project

Choose steps to follow below, depending on where your code is stored:

CircleCI uses the specified .circleci/config.yml file to run your pipeline. You can see the output on the pipelines page. To make changes to your pipeline, edit the .circleci/config.yml file in your repository.

Through creating a project and connecting your code you have set up your pipeline and a trigger. The default trigger runs your pipeline when a change is committed to your code. You can create more triggers at Project settings  Triggers. For more information, see the Pipelines overview.

Set up a project

Follow these steps to set up a new project in CircleCI:

  1. In the CircleCI web app, select Organization Home in the sidebar. The equivalent option in CircleCI server is Dashboard

  2. Select Set up a project.

    Set up a project button
    Figure 33. Set up a project
  3. Find your project in the list and select Set Up Project.

  4. Choose a config.yml option in the modal. You can choose from the following:

    • Fastest: Use a CircleCI .circleci/config.yml you have already committed to your repository. For guidance on creating a config.yml file, see the Configuration Introduction. You will also need to specify a branch.

    • Faster: Commit a starter CI pipeline to a new circleci-project-setup branch of your repository.

    • Fast: View, edit, and commit a template config.yml.

  5. 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.yml file.

  • Access the configuration editor using the Edit Config button from a the Pipelines page when you have a project and branch selected.

Edit Configuration File
Figure 35. Access and edit a config file

Suggest an edit to this page

Make a contribution
Learn how to contribute