1. In the "Code, planning, and automation" section of the sidebar, select **{% octicon "codespaces" aria-label="The codespaces icon" %} {% data variables.product.prodname_codespaces %}** then click **Policies**. 1. On the "Codespace policies" page, click **Create Policy**. 1. Enter a name for your new policy.