Could someone please tell me the difference between these 2 links?
Here you can find all the documentation for the Stately Studio and XState. There are a few ways you might want to get started:
Documentation for XState: State Machines and Statecharts for the Modern Web