> For the complete documentation index, see [llms.txt](https://www.xapijs.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.xapijs.dev/cmi5-profile-library/cmi5-class.md).

# The Cmi5 Class

## new Cmi5()

To use any methods, you will need to create a new instance of [Cmi5](https://github.com/xapijs/cmi5/blob/master/src/Cmi5.ts). The credentials are obtained from the LMS automatically via the URL launch parameters.

### **Example**

```typescript
import Cmi5 from "@xapi/cmi5";

// Create Cmi5 instance
const cmi5: Cmi5 = new Cmi5();

// Initialize AU
cmi5.initialize();
```

### **Returns**

This returns a [Cmi5](https://github.com/xapijs/cmi5/blob/master/src/Cmi5.ts) object which you can use to communicate with the LRS.
