diff --git a/docs/tools/near-api.md b/docs/tools/near-api.md
index a918422304e..6c328f7290f 100644
--- a/docs/tools/near-api.md
+++ b/docs/tools/near-api.md
@@ -86,12 +86,9 @@ To allow users to login into your web application using a wallet you will need t
You can use the API library in the browser, or in Node.js runtime.
- ```js
- import { Account } from "@near-js/accounts";
- import { JsonRpcProvider } from "@near-js/providers";
- import { KeyPairSigner } from "@near-js/signers";
- ```
-
+
Using the API in Node.js
@@ -400,13 +397,9 @@ This will return an Account object for you to interact with.
You can create an `Account` instance using the code below. At a minimum, it requires a `Provider` to fetch data from the blockchain. If you also want to perform actions on behalf of the account (such as sending tokens, signing transactions, or managing keys) - you’ll need to pass a `Signer` as well. See the [section above](#key-handlers-stores--signers) on how to create one using a private key, seed phrase, or JSON file.
- ```js
- import { JsonRpcProvider } from "@near-js/providers";
- import { Account } from "@near-js/accounts";
-
- const provider = new JsonRpcProvider({ url: "https://test.rpc.fastnear.com" });
- const account = new Account("user.testnet", provider, undefined // here could've been a Signer);
- ```
+