To use Azure DevOps for CI, you need to have an Azure DevOps account and a project, which you can create a free account and a project from the Azure DevOps website. Then, you can create or import a repository in Azure Repos using Git or TFVC, or import your existing code from GitHub or other sources. Additionally, you will need to create a pipeline in Azure Pipelines; this is a sequence of steps that defines how to build and test your code. You can use YAML or a graphical editor to create your pipeline, as well as predefined templates or customize your own. Furthermore, you should configure your pipeline triggers, which are events that initiate your pipeline runs. For CI, the trigger is typically when you push a code change to your repository. Finally, add tasks to your pipeline; these are actions that perform specific operations on your code. You can use built-in tasks or install custom tasks from the marketplace, and control the task behavior with variables, parameters, conditions, and expressions. Once you have completed these steps, you can run your pipeline and monitor the results in the Azure Pipelines dashboard. Notifications, badges, and reports will also help you keep track of your pipeline performance.