Hi, I am using next js with typescript and want to...
# support
e
Hi, I am using next js with typescript and want to integrate rudderstack in next js. What SDK do I have to integrate then?
c
Hey @enough-horse-22950, You need to integrate JavaScript SDK, please follow the doc: https://www.rudderstack.com/docs/user-guides/how-to-guides/rudderstack-jamstack-integration/rudderstack-nextjs-integration/
e
This will work for typescript as well?
c
Let me confirm with the team then I’ll update you.
e
yess please
did you confirm it with the team?
c
Yes, it’ll work for the typescript. You may refer the sample app: https://github.com/rudderlabs/rudder-samples/tree/master/javascript/sample-next-app
e
Cool. Thanks!
One more question, can I use the same js-sdk for server side as well?
I am using Next.js
c
For server side probably you need to use different SDK, you may find the list here: https://www.rudderstack.com/docs/sources/event-streams/sdks/#server
e
Okayy!