How to use Slice in component. Next.js

I created a CTA button with Slice Machine, and I need to use it in the Header component, but there was an error below.

How to use Slice in component?

Header component

CTA Button Slice


Hi @solution.stack99,

You can only use slice components in a Slice Zone. If you want to use the slice in your header, you might create a new Slice Zone for your header. Otherwise, you might just model the content in your page type without using a slice.