# Licensing Infinite Table

> Free Usage and Licensing with Infinite Table

Canonical page: https://infinite-table.com/angular/docs/learn/getting-started/licensing

## Free Usage

You can immediately download and use [Infinite Table for Angular from the NPM registry](https://www.npmjs.com/package/@infinite-table/infinite-angular) free of charge. `@infinite-table/infinite-angular` is published under the same license as the React and Vue packages - one license covers all three.

When using Infinite Table for free, you have access to **all the features** of Infinite Table, but you will see a [Powered by Infinite Table](https://infinite-table.com) link in the table footer.

You can use it for free in any product, but make sure the footer is always visible when Infinite Table is visible. Check the demos below to see the license footer in action: the first one has no license key (`licenseKey=""`), so it shows the "Powered by Infinite Table" footer. The second one uses an invalid license key, so the footer is red and says the license is invalid (the details are logged to the console).

**Example: Missing License Demo**

```ts
import { Component } from '@angular/core';

import { DataSource, InfiniteTable } from '@infinite-table/infinite-angular';
import type { InfiniteTablePropColumns } from '@infinite-table/infinite-angular';

type Person = {
  Id: number;
  FirstName: string;
  Age: number;
};

const data: Person[] = [
  { Id: 1, FirstName: 'Bob', Age: 3 },
  { Id: 2, FirstName: 'Alice', Age: 50 },
  { Id: 3, FirstName: 'Bill', Age: 5 },
];

const columns: InfiniteTablePropColumns<Person> = {
  id: {
    // specifies which field from the data source
    // should be rendered in this column
    field: 'Id',
    type: 'number',
    defaultWidth: 80,
  },
  firstName: {
    field: 'FirstName',
  },
  age: { field: 'Age', type: 'number' },
};

@Component({
  selector: 'demo-root',
  imports: [DataSource, InfiniteTable],
  template: `
    <infinite-data-source [data]="data" primaryKey="Id">
      <infinite-table
        debugId="missing-license"
        licenseKey=""
        [columnDefaultWidth]="130"
        [columns]="columns"
      />
    </infinite-data-source>
  `,
})
export default class App {
  protected readonly data = data;
  protected readonly columns = columns;
}
```

**Example: Invalid License Demo**

```ts
import { Component } from '@angular/core';

import { DataSource, InfiniteTable } from '@infinite-table/infinite-angular';
import type { InfiniteTablePropColumns } from '@infinite-table/infinite-angular';

type Person = {
  Id: number;
  FirstName: string;
  Age: number;
};

const data: Person[] = [
  { Id: 1, FirstName: 'Bob', Age: 3 },
  { Id: 2, FirstName: 'Alice', Age: 50 },
  { Id: 3, FirstName: 'Bill', Age: 5 },
];

const columns: InfiniteTablePropColumns<Person> = {
  id: {
    // specifies which field from the data source
    // should be rendered in this column
    field: 'Id',
    type: 'number',
    defaultWidth: 80,
  },
  firstName: {
    field: 'FirstName',
  },
  age: { field: 'Age', type: 'number' },
};

@Component({
  selector: 'demo-root',
  imports: [DataSource, InfiniteTable],
  template: `
    <infinite-data-source [data]="data" primaryKey="Id">
      <infinite-table
        debugId="invalid-license"
        licenseKey="<INVALID>"
        [columnDefaultWidth]="130"
        [columns]="columns"
      />
    </infinite-data-source>
  `,
})
export default class App {
  protected readonly data = data;
  protected readonly columns = columns;
}
```

## Licensed Usage

We invite you to try out Infinite Table and explore all the features it has to offer. We're confident it will be a useful addition to your applications.

We encourage companies 🙌 to purchase development licenses for their teams and help us improve the product and support the development of new features.

After purchasing, you receive a license key. Provide it once, for every grid of your application, with `provideInfiniteTable` in your application config:

```ts
// app.config.ts
import type { ApplicationConfig } from '@angular/core';
import { provideInfiniteTable } from '@infinite-table/infinite-angular';

export const appConfig: ApplicationConfig = {
  providers: [
    
    provideInfiniteTable({ licenseKey: 'your-license-key' }),
  ],
};
```

A grid's own `[licenseKey]` input wins over it.

See our pricing page for more information on how to purchase a license.

See how Infinite Table's licensing and features compare with AG Grid, MUI X and other data grids.
