# Paginate in SSR mode with Astrojs
I have an astrojs project with the following structure.
```
pages/
|- index.astro
|- blog/index.astro
|- blog/[slug].astro
|- blog/[page].astro
```
Since the project is not static, I render in SSR mode. Since I am a beginner in this subject, I learn everything by doing and trying. Most things look and work pretty well now, but I just can't seem to get the pagination done.
The examples I've seen are all prepared in SSG mode because they always include getStaticPaths. However, if you use getStaticPaths in SSR mode, you'll get some kind of warning that it doesn't work and is excluded.
In this case, I couldn't figure out how to do pagination.
SSG Routing, SSR Routing and SSG Pagination but it does not contain SSR pagination. It pass datas with this function: return paginate(astronautPages, { pageSize: 2 }); inside getStaticPaths but it desn't work outside of getStaticPaths
How can I get `const { page } = Astro.props; without getStaticPaths?`