To get started with AUI, there are a few steps:
- Choose a deployment option,
- Include the AUI resources on your page, and
- Start using AUI's components.
Choose a deployment option
Depending on the version of AUI, there will be a number of options for how you can consume the AUI library.
Here are a few of the options available to you:
Using AUI through Node.js
The AUI library is published on npmjs.com. You can consult the package's README file for consumption options through Node.
Using AUI through the Atlassian Plugin
AUI is shipped in most Atlassian Server products as an Atlassian Plugin.
Including AUI resources on a page is a matter of requiring the appropriate
The AUI documentation lists these keys for each component.
You may also want to read Atlassian's getting started guide for writing plugins.
Downloading static files
The zip file contains both core/stable components from AUI, plus some components with experimental APIs (in separate resources).
Link the files:
<link rel="stylesheet" href="aui/aui-prototyping.css" media="all">- in the head of your HTML document
<script src="aui/aui-prototyping.js"></script>- at the end of the body of your HTML document but after the script tag loading the proper version of jQuery (2 and above)
- Make sure the paths point to the location of your copy and update them if not.
Some versions of AUI are available via CDN. You can check the AUI CDN website for the versions Atlassian hosts, and instructions on consuming them.
Once you've included AUI in to your project, check out AUI's documentation to learn about how to use the AUI components.
If you have any questions or run in to troubles using AUI, ask a question in our developer community.