> ## Documentation Index
> Fetch the complete documentation index at: https://fuse-docs.swovo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Angular CSV Importer

> How to implement an Angular CSV Importer

Below is some sample Angular code to get you started with our CSV Importer. Be sure to insert your own Organization's API key and an Importer ID from your account. You can find them on the [Importers](https://fuse.flatirons.com/account/importers) page.

```typescript theme={null}
import { Component } from "@angular/core";
import FuseImporter from "fuse-importer";

@Component({
  selector: "app-root",
  template: '<button (click)="showImporter()">Show Importer</button>',
})
export class AppComponent {
  public showImporter() {

    const importer = new FuseImporter();

    importer.getSessionToken = ... // see https://fuse-docs.flatirons.com/getting-started/sessions

    importer.onSubmit = async (records) => {
      return {
        message: "Data imported successfully",
        errors: {},
      };
    };

    importer.onValidateRecord = async (record) => {
      return { errors: {}, warnings: {} };
    };

    importer.show();
  }
}
```
