// Module included in the following assemblies:
//
// * microshift_ai/microshift-rhoai.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-rhoai-create-namespace_{context}"]
= Creating a namespace for your AI model on {microshift-short}

[role="_abstract"]
Create a namespace for your AI model and all other resources. Namespaces offer resource isolation, resource management, and access control.

.Prerequisites

* You have root user access to your machine.
* The {oc-first} is installed.

.Procedure

* Create a new namespace by running the following command:
+
[source,terminal,subs="+quotes"]
----
$ oc create ns _<namespace_name>_
----
where:

`_<namespace_name>_`:: Specifies the namespace name to use. In the following examples, `ai-demo` is used.

.Verification

* Verify that you created the namespace by running the following command:
+
[source,terminal,subs="+quotes"]
----
$ oc get ns _<namespace_name>_
----
where:
+
--
`_<namespace_name>_`:: Specifies the namespace name you want to use. In the following examples, `ai-demo` is used.
--
+
.Example output
[source,text]
----
NAME                STATUS  AGE
ai-demo             Active  1h
----
