# Getting Started With Apollo Client in Next.js

DevFeed: [Getting Started With Apollo Client in Next.js](<https://devfeed.tech/articles/getting-started-with-apollo-client-in-next-js-23470.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/next-js-getting-started>)

Author: Kurt Kemple

Published: 2021-03-09T14:52:25Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [data](<https://devfeed.tech/topics/data.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>), [API](<https://devfeed.tech/topics/api.md>), [React](<https://devfeed.tech/topics/react.md>), [render](<https://devfeed.tech/topics/render.md>), [Search engine optimization (SEO)](<https://devfeed.tech/topics/seo.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [browser](<https://devfeed.tech/tags/browser.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [react](<https://devfeed.tech/tags/react.md>), [render](<https://devfeed.tech/tags/render.md>), [seo](<https://devfeed.tech/tags/seo.md>), [server-side-rendering](<https://devfeed.tech/tags/server-side-rendering.md>)

## AI overview

A tutorial on configuring Apollo Client with Next.js. It compares static, server-side, and client-side data fetching and rendering, explains their tradeoffs for freshness, response latency, and SEO, and demonstrates setting up a Next.js app with Apollo Client and an API.

## Source excerpt

Wait, you want me to put my data where!? Figuring out how to configure Apollo Client with Next.js can be a bit confusing. This confusion stems from the fact that there are three ways to fetch and render data: static, server-side, and client-side. There are benefits and tradeoffs to each strategy, but I'm happy to report that Apollo Client is compatible with all three!