Due to stability issues with the AMQP 1.0 implementation, we’ve temporarily disabled agent AMQP support for the developer server group. This will manifest itself in your agent code as an error similar to the following: ERROR: the index ‘amqp’ does...

You can’t. AMQP 1.0 support, including to IoT Hub, is disabled, due to stability concerns (it kept crashing the server and killing all developer, and some production, agents). This, as you can imagine, is not something we’re happy with.

Until we’ve investigated the cause of the crash, written some more system tests (particularly stress tests), and we’re confident that the code is stable, AMQP will remain disabled on the developer server.

In the interim, if you need AMQP support (i.e. for IoT Hub), contact info@electricimp.com, providing your device IDs, and we’ll discuss moving you to another server where AMQP is still available (but potentially crashy).

Just to add: The AMQP 1.0 implementation is still considered in Beta stage and subject to ongoing testing, which was how this instability was uncovered. As mentioned, we are investigating and will re-enable AMQP for further Beta testing as soon as the issue is addressed.