# Get Started Using JavaScript Library This tutorial guides you through the basics of building an XRP Ledger-connected application in JavaScript using the [`xrpl.js`](https://github.com/XRPLF/xrpl.js/) client library in either Node.js or web browsers. ## Goals In this tutorial, you'll learn: - The basic building blocks of XRP Ledger-based applications. - How to connect to the XRP Ledger using `xrpl.js`. - How to get an account on the [Testnet](/resources/dev-tools/xrp-faucets) using `xrpl.js`. - How to use the `xrpl.js` library to look up information about an account on the XRP Ledger. - How to put these steps together to create a JavaScript app or web-app. ## Prerequisites To complete this tutorial, you should meet the following guidelines: - Have some familiarity with writing code in JavaScript. - Have installed Node.js **version 20** or later in your development environment. - If you want to build a web application, any modern web browser with JavaScript support should work fine. ## Source Code Click **Download** on the top right of the code preview panel to download the source code. ## Steps Follow the steps to create a simple application with `xrpl.js`. ### 1. Install Dependencies To load `xrpl.js` into your project, add a `