# Create a custom collection

## Create a custom collection from scratch

Akto allows you to create a custom collection from scratch using APIs from other collections.

In the demonstration below, we have illustrated the steps to help you create a custom collection from scratch.

Go to **API Discovery > API Collection**. Click on **Create new collection** to open then dialog and click on **Add endpoints**. Then you can add endpoints using different conditions as per your requirement and click on **Create** to save the collection.

{% embed url="<https://demo.arcade.software/aSbt5oRcd8bGgobspJCi?embed=>" %}
Create custom collection from scratch
{% endembed %}

## Create a custom collection from another collection

Akto allows you to create a custom collection directly from other collections.

In the demonstration below, we have illustrated the steps to help you create a custom collection from another collection.

Go to **API Discovery > API Collection**. Go to any collection whose APIs you want to add in the collection and select those APIs. Then click on **Add to API Group** to open the selection dialog box. Choose any API group from there or create a new one as per your requirements.

{% embed url="<https://demo.arcade.software/1pjwS1gRqCyek97X5mJr?embed=>" %}
Create custom collection from another collection
{% endembed %}

**NOTE:** Adding APIs to a custom collection creates a reference to the original APIs in the custom collection. It does not duplicate them. Thus any changes to the original APIs are automatically reflected in the custom collections.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/api-inventory/how-to/how-to-create-a-custom-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
