# Getting started

## Overview

Gasless transactions can be utilized outside of the mobile device such as from a backend, web dapp, desktop, etc. Submitting transactions is a 2 step process:&#x20;

1. Sign a transaction on the client (web, backend, etc)
2. Create a HTTP request containing a JSON payload with details about the transaction you'd like to relay.&#x20;

## Get an API key for gasless transactions

An API key is required to use the infrastructure to power gasless transactions. Visit  <https://app.rallyprotocol.com/> to generate both Amoy and Mainnet Polygon API keys.&#x20;

## Using an existing Gas Station Network Client Library.

Our hosted transaction infrastructure honors the [Gas Station Network](https://opengsn.org/) interface with the addition of an authentication HTTP header containing your API key. If you're already using a GSN client the following steps should be all you need to change:&#x20;

1. Set `https://api.rallyprotocol.com` as your relay URL.&#x20;
2. Add the following header to the HTTP request `Authorization: Bearer <YOUR_API_TOKEN>`&#x20;

## Submitting Requests Without a GSN Library

*Examples coming soon. Reach out to us on* [*Discord*](https://discord.gg/rlynetwork) *and we'll happily walk you through it*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rallyprotocol.com/react-native-expo/gasless-transactions/using-without-embedded-wallets/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
