# Prepare your environment for Certificate Authority Service

This page shows you how to prepare your environment to set up
Certificate Authority Service.

## Enable the CA Service API

<br />

## Configure roles and permissions


To get the permissions that
you need to set up CA Service,

ask your administrator to grant you the
[CA Service Admin](https://docs.cloud.google.com/iam/docs/roles-permissions/privateca#privateca.admin) (`roles/privateca.admin`) IAM role on the project.


For more information about granting roles, see [Manage access to projects, folders, and organizations](https://docs.cloud.google.com/iam/docs/granting-changing-revoking-access).


You might also be able to get
the required permissions through [custom
roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles) or other [predefined
roles](https://docs.cloud.google.com/iam/docs/roles-overview#predefined).

For information about granting roles to CA Service resources,
see [Access control with IAM](https://docs.cloud.google.com/certificate-authority-service/docs/access-control).

## What's next

- [Access control with IAM](https://docs.cloud.google.com/certificate-authority-service/docs/access-control).
- Get started with [CA Service](https://docs.cloud.google.com/certificate-authority-service/docs/create-certificate).