Add SEO metadata to Next.js pages using the Metadata API. The `metadata` object and `generateMetadata` function are **only supported in Server Components**. They cannot be used in Client Components.