> For the complete documentation index, see [llms.txt](https://enflexit.gitbook.io/agent-workbench/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enflexit.gitbook.io/agent-workbench/development/basic-steps/export-your-plug-in-to-an-awb-installation-project.md).

# Export your Plug-in to AWB

Runtime-Export: Export an Eclipse Plug-in to an AWB project

## Export the Plug-in

This tutorial shows you how to include and use your plug-ins (OSGI bundels) in an Agent.Workbench - project outside of the Eclipse IDE. This will allow you to start an AWB-project from an AWB-installation that uses your agents or your application extensions. This is done by exporting the Eclipse plug-in into a projects subdirectory (e.g. *./myProject/plugins*). Opening a project, Agent.Workbench will search in the project directory for OSGI-bundles and will load them automatically.

In your Eclipse IDE, right-click the Eclipse project you want to export and choose *Export*.

![](https://874617837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL95HBh1KIqu90YyWBK%2Fuploads%2Fgit-blob-31e397560ad3329410a7f5ab2dcc5f0175be1894%2Fchooseexport.png?alt=media)

Under *Plug-in Development* choose *Deployable plug-ins and fragments*, then click *Next*.

![](https://874617837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL95HBh1KIqu90YyWBK%2Fuploads%2Fgit-blob-feb93751030d944618e92c1950bafcc9e7fe2a8a%2Fchoosedeployable.png?alt=media)

Now select the plug-in and specify the directory you want to export to. Note, when exporting to a directory, the plug-ins will be placed in a *plugins/* subdirectory of the chosen directory. As the directory, simply choose your Agent.Workbench project-folder, even it contains a *plugins/* subdirectory already.

![](https://874617837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL95HBh1KIqu90YyWBK%2Fuploads%2Fgit-blob-1717954650d4efe5bbc45344d51f9490fbb468a9%2Fexportplugin.png?alt=media)

As a last step, go to the *Options* tab. Select the checkbox "*use class files compiled in the workspace".* Then click *Finish*.

![](https://874617837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL95HBh1KIqu90YyWBK%2Fuploads%2Fgit-blob-7870ccbdb9e8fe7fd64f36395fc1c4aa2ea951ad%2Fexportselectbox.png?alt=media)

## Check if the export was successful

To check if the export was successful, open (or re-open) your AWB-project and go to the *Resources* tab in the project window.

![](https://874617837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL95HBh1KIqu90YyWBK%2Fuploads%2Fgit-blob-127169d411b226c77e8686eadac7e6aaac118469%2Fawbprojectresources.png?alt=media)

Your plug-in should appear in the list of *Project OSGI-Bundles*. If it does, the export was successful.

![](https://874617837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL95HBh1KIqu90YyWBK%2Fuploads%2Fgit-blob-b8945f6bee852c7ff34993c9a53ff284fa5a6caf%2Fcheckresources.png?alt=media)
