Code of Civil Procedure § 1292.4
ARTICLE 2. Venue, Jurisdiction and Costs
If a controversy referable to arbitration under an alleged agreement is involved in an action or proceeding pending in a superior court, a petition for an order to arbitrate shall be filed in such action or proceeding.